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

Field Summary
 java.lang.String DEFAULT_JWS_FILE_EXTENSION
           
protected static org.apache.commons.logging.Log log
           
 java.lang.String OPTION_JWS_FILE_EXTENSION
           
 
Fields inherited from class org.apache.axis.handlers.BasicHandler
name, options
 
Constructor Summary
JWSHandler()
           
 
Method Summary
 void generateWSDL(MessageContext msgContext)
          Obtain WSDL information.
 void invoke(MessageContext msgContext)
          Must implement this in subclasses.
 void setOptions(java.util.Hashtable opts)
          Propagate options set on this handler into the processor.
 
Methods inherited from class org.apache.axis.handlers.BasicHandler
canHandleBlock, cleanup, getDeploymentData, getName, getOption, getOptions, getUnderstoodHeaders, init, initHashtable, onFault, setName, setOption, setOptionDefault
 
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

OPTION_JWS_FILE_EXTENSION

public final java.lang.String OPTION_JWS_FILE_EXTENSION

DEFAULT_JWS_FILE_EXTENSION

public final java.lang.String DEFAULT_JWS_FILE_EXTENSION
Constructor Detail

JWSHandler

public JWSHandler()
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

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

setOptions

public void setOptions(java.util.Hashtable opts)
Propagate options set on this handler into the processor.
Overrides:
setOptions in class BasicHandler


Copyright © 2002 Apache XML Project. All Rights Reserved.