org.apache.beehive.wsm.axis.handlers
Class AnnotatedWebServiceDeploymentHandler

Object
  extended by BasicHandler
      extended by AnnotatedWebServiceDeploymentHandler
All Implemented Interfaces:
Serializable, Handler

public class AnnotatedWebServiceDeploymentHandler
extends BasicHandler

**************************************************************************** A few annotation specific things added and lots of code copied from the JWSHandler class by

See Also:
Serialized Form

Field Summary
protected static Log log
           
protected  Map<String,SOAPService> soapServices
           
 
Fields inherited from class BasicHandler
makeLockable, name, options
 
Constructor Summary
AnnotatedWebServiceDeploymentHandler()
           
 
Method Summary
protected  SOAPService createSOAPService(BeehiveWsTypeMetadata wsm, Class cls)
           
 void generateWSDL(MessageContext mc)
           
protected  HandlerInfoChainFactory getJaxRPCHandlerChainFactory(BeehiveWsTypeMetadata wsm)
           
protected  SOAPService getSOAPService(Class clazz)
           
protected  Class getWebServiceClass(MessageContext mc)
           
 void invoke(MessageContext mc)
           
 
Methods inherited from class BasicHandler
canHandleBlock, cleanup, getDeploymentData, getName, getOption, getOptions, getUnderstoodHeaders, init, initHashtable, onFault, setName, setOption, setOptionDefault, setOptions, setOptionsLockable
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

protected static Log log

soapServices

protected Map<String,SOAPService> soapServices
Constructor Detail

AnnotatedWebServiceDeploymentHandler

public AnnotatedWebServiceDeploymentHandler()
Method Detail

invoke

public void invoke(MessageContext mc)
            throws AxisFault
Parameters:
mc -
Throws:
AxisFault

generateWSDL

public void generateWSDL(MessageContext mc)
                  throws AxisFault
Specified by:
generateWSDL in interface Handler
Overrides:
generateWSDL in class BasicHandler
Parameters:
mc -
Throws:
AxisFault

getSOAPService

protected SOAPService getSOAPService(Class clazz)
                              throws Exception
Parameters:
clazz -
Returns:
SOAPService
Throws:
Exception

createSOAPService

protected SOAPService createSOAPService(BeehiveWsTypeMetadata wsm,
                                        Class cls)
                                 throws Exception
Parameters:
wsm -
cls -
Returns:
Throws:
Exception

getJaxRPCHandlerChainFactory

protected HandlerInfoChainFactory getJaxRPCHandlerChainFactory(BeehiveWsTypeMetadata wsm)
                                                        throws ClassNotFoundException
Throws:
ClassNotFoundException

getWebServiceClass

protected Class getWebServiceClass(MessageContext mc)
                            throws Exception
Parameters:
mc -
Returns:
Throws:
Exception