cgl.narada.wsinfra.deployment.axis
Class WsInfraAxisHandler

java.lang.Object
  extended by org.apache.axis.handlers.BasicHandler
      extended by cgl.narada.wsinfra.deployment.axis.WsInfraAxisHandler
All Implemented Interfaces:
WsMessageFlow, Serializable, org.apache.axis.Handler
Direct Known Subclasses:
WseSinkHandler, WseSinkProxyHelper, WseSourceHandler, WseSourceProxyHelper, WseSubscriptionManagerHandler, WseSubscriptionManagerProxyHelper, WsrmSinkHandler, WsrmSinkProcessor, WsrmSourceProcessor, WsrmSourceRequestHandler, WsrmSourceResponseHandler, WsrSinkHandler, WsrSinkProxyHelper, WsrSourceHandler, WsrSourceProxyHelper

public class WsInfraAxisHandler
extends org.apache.axis.handlers.BasicHandler
implements WsMessageFlow

WsInfraAxisHandler is base class for every handler in wsinfra. The processed Source and Sink messages are received from enrouteToNetwork method and passed into the sender thread. Although it extends BasicHandler class, invoke method is overwritten by extend classes.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.axis.handlers.BasicHandler
log, makeLockable, name, options
 
Fields inherited from interface cgl.narada.wsinfra.WsMessageFlow
FROM_APPLICATION, FROM_NETWORK
 
Constructor Summary
WsInfraAxisHandler()
           
 
Method Summary
 void addHandler(org.apache.axis.Handler handler)
           
 void enrouteToApplication(SOAPMessage soapMessage)
          Routes a message enroute to the application.
 void enrouteToNetwork(SOAPMessage soapMessage)
          Push up processed messages and send them into Sender Thread
 String getSoapActionURI()
           
 SOAPContext getSOAPContext(SOAPMessage soapMessage)
           
 void initilizeInfraAxisHandler()
          Initilize required class instances
 void invoke(org.apache.axis.MessageContext msgContext)
          This method is overwritten by extend classes
 void setIdentifier(String identifier)
           
 void setSoapActionURI(String soapActionURI)
           
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WsInfraAxisHandler

public WsInfraAxisHandler()
Method Detail

initilizeInfraAxisHandler

public void initilizeInfraAxisHandler()
Initilize required class instances


addHandler

public void addHandler(org.apache.axis.Handler handler)

getSOAPContext

public SOAPContext getSOAPContext(SOAPMessage soapMessage)

setSoapActionURI

public void setSoapActionURI(String soapActionURI)

getSoapActionURI

public String getSoapActionURI()

enrouteToApplication

public void enrouteToApplication(SOAPMessage soapMessage)
                          throws MessageFlowException
Routes a message enroute to the application. The message is basically routed to a neighboring filter which is nearer to the application.

Specified by:
enrouteToApplication in interface WsMessageFlow
Throws:
MessageFlowException

enrouteToNetwork

public final void enrouteToNetwork(SOAPMessage soapMessage)
                            throws MessageFlowException
Push up processed messages and send them into Sender Thread

Specified by:
enrouteToNetwork in interface WsMessageFlow
Throws:
MessageFlowException

setIdentifier

public final void setIdentifier(String identifier)

invoke

public void invoke(org.apache.axis.MessageContext msgContext)
            throws org.apache.axis.AxisFault
This method is overwritten by extend classes

Specified by:
invoke in interface org.apache.axis.Handler
Specified by:
invoke in class org.apache.axis.handlers.BasicHandler
Throws:
org.apache.axis.AxisFault


For comments and suggestions please send e-mail to The NaradaBrokering Project