org.apache.axis.handlers
Class JWSHandler
java.lang.Object
|
+--org.apache.axis.handlers.BasicHandler
|
+--org.apache.axis.handlers.JWSHandler
- All Implemented Interfaces:
- Handler, java.io.Serializable
- public class JWSHandler
- extends BasicHandler
A JWSHandler
sets the target service and JWS filename
in the context depending on the JWS configuration and the target URL.
- Author:
- Glen Daniels (gdaniels@allaire.com), Doug Davis (dug@us.ibm.com), Sam Ruby (rubys@us.ibm.com)
- See Also:
- Serialized Form
Method Summary |
void |
generateWSDL(MessageContext msgContext)
Obtain WSDL information. |
void |
invoke(MessageContext msgContext)
Just set up the service, the inner service will do the rest... |
static boolean |
isJar(java.io.InputStream is)
|
protected void |
setupService(MessageContext msgContext)
If our path ends in the right file extension (*.jws), handle all the
work necessary to compile the source file if it needs it, and set
up the "proxy" RPC service surrounding it as the MessageContext's
active service. |
Methods inherited from class org.apache.axis.handlers.BasicHandler |
canHandleBlock, cleanup, getDeploymentData, getName, getOption, getOptions, getUnderstoodHeaders, init, initHashtable, onFault, setName, setOption, setOptionDefault, setOptions, setOptionsLockable |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
protected static org.apache.commons.logging.Log log
OPTION_JWS_FILE_EXTENSION
public final java.lang.String OPTION_JWS_FILE_EXTENSION
- See Also:
- Constant Field Values
DEFAULT_JWS_FILE_EXTENSION
public final java.lang.String DEFAULT_JWS_FILE_EXTENSION
- See Also:
- Constant Field Values
soapServices
protected static java.util.HashMap soapServices
JWSHandler
public JWSHandler()
invoke
public void invoke(MessageContext msgContext)
throws AxisFault
- Just set up the service, the inner service will do the rest...
- Specified by:
invoke
in interface Handler
- Specified by:
invoke
in class BasicHandler
AxisFault
setupService
protected void setupService(MessageContext msgContext)
throws java.lang.Exception
- If our path ends in the right file extension (*.jws), handle all the
work necessary to compile the source file if it needs it, and set
up the "proxy" RPC service surrounding it as the MessageContext's
active service.
java.lang.Exception
isJar
public static boolean isJar(java.io.InputStream is)
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.
- Specified by:
generateWSDL
in interface Handler
- Overrides:
generateWSDL
in class BasicHandler
AxisFault
Copyright © 2003 Apache Web Services Project. All Rights Reserved.