org.apache.axis.handlers

Class JWSHandler

Implemented Interfaces:
Handler, 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.
Authors:
Glen Daniels (gdaniels@allaire.com)
Doug Davis (dug@us.ibm.com)
Sam Ruby (rubys@us.ibm.com)

Field Summary

String
DEFAULT_JWS_FILE_EXTENSION
String
OPTION_JWS_FILE_EXTENSION
protected static Log
log
protected static HashMap
soapServices

Fields inherited from class org.apache.axis.handlers.BasicHandler

makeLockable, name, options

Method Summary

void
generateWSDL(MessageContext msgContext)
void
invoke(MessageContext msgContext)
Just set up the service, the inner service will do the rest...
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, generateWSDL, getDeploymentData, getName, getOption, getOptions, getUnderstoodHeaders, init, initHashtable, onFault, setName, setOption, setOptionDefault, setOptions, setOptionsLockable

Field Details

DEFAULT_JWS_FILE_EXTENSION

public final String DEFAULT_JWS_FILE_EXTENSION

OPTION_JWS_FILE_EXTENSION

public final String OPTION_JWS_FILE_EXTENSION

log

protected static Log log

soapServices

protected static HashMap soapServices

Method Details

generateWSDL

public void generateWSDL(MessageContext msgContext)
            throws AxisFault
Specified by:
generateWSDL in interface Handler
Overrides:
generateWSDL in interface BasicHandler

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

setupService

protected void setupService(MessageContext msgContext)
            throws 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.

Copyright B) 2005 Apache Web Services Project. All Rights Reserved.