org.apache.axis.handlers
Class JWSProcessor

java.lang.Object
  |
  +--org.apache.axis.handlers.BasicHandler
        |
        +--org.apache.axis.handlers.JWSProcessor
All Implemented Interfaces:
Handler, java.io.Serializable

public class JWSProcessor
extends BasicHandler

This handler will use the MC_REALPATH property of the MsgContext to locate a *.jws (JavaWebService) file. If found it will copy it to a *.java file, compile it and then run it using the RPCDispatchHandler. Todo: support msg instead of just rpc allow configurable handler (not just RPCDispatchHandler)

Author:
Doug Davis (dug@us.ibm.com)
See Also:
Serialized Form

Field Summary
protected static org.apache.commons.logging.Log log
           
 
Fields inherited from class org.apache.axis.handlers.BasicHandler
name, options
 
Constructor Summary
JWSProcessor()
           
 
Method Summary
 void generateWSDL(MessageContext msgContext)
          Obtain WSDL information.
 void invoke(MessageContext msgContext)
          Must implement this in subclasses.
 void invokeImpl(MessageContext msgContext, boolean doWsdl)
           
static boolean isJar(java.io.InputStream is)
           
 
Methods inherited from class org.apache.axis.handlers.BasicHandler
canHandleBlock, cleanup, getDeploymentData, getName, getOption, getOptions, init, onFault, setName, setOption, setOptions
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

protected static org.apache.commons.logging.Log log
Constructor Detail

JWSProcessor

public JWSProcessor()
Method Detail

invoke

public void invoke(MessageContext msgContext)
            throws AxisFault
Description copied from class: BasicHandler
Must implement this in subclasses.
Overrides:
invoke in class BasicHandler

invokeImpl

public void invokeImpl(MessageContext msgContext,
                       boolean doWsdl)
                throws AxisFault

generateWSDL

public void generateWSDL(MessageContext msgContext)
                  throws AxisFault
Description copied from interface: Handler
Obtain WSDL information. Some Handlers will implement this by merely setting properties in the MessageContext, others (providers) will take responsibility for doing the "real work" of generating WSDL for a given service.
Overrides:
generateWSDL in class BasicHandler

isJar

public static boolean isJar(java.io.InputStream is)


Copyright © 2001 Apache XML Project. All Rights Reserved.