org.apache.axis.handlers
Class JWSHandler

java.lang.Object
  extended byorg.apache.axis.handlers.BasicHandler
      extended byorg.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.

See Also:
Serialized Form

Field Summary
 java.lang.String DEFAULT_JWS_FILE_EXTENSION
           
 java.lang.String OPTION_JWS_FILE_EXTENSION
           
 
Constructor Summary
JWSHandler()
           
 
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...
 
Methods inherited from class org.apache.axis.handlers.BasicHandler
canHandleBlock, cleanup, getDeploymentData, getName, getOption, getOptions, getUnderstoodHeaders, init, onFault, setName, setOption, setOptionDefault, setOptions
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

JWSHandler

public JWSHandler()
Method Detail

invoke

public void invoke(MessageContext msgContext)
            throws AxisFault
Just set up the service, the inner service will do the rest...

Parameters:
msgContext - the MessageContext to process with this Handler.
Throws:
AxisFault - if the handler encounters an error

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
Throws:
AxisFault


Copyright 2003 Apache Web Services Project. A ll Rights Reserved.