cgl.narada.wsinfra.deployment.axis.wsrm.handler
Class WsrmSourceRequestHandler

java.lang.Object
  extended by org.apache.axis.handlers.BasicHandler
      extended by cgl.narada.wsinfra.deployment.axis.WsInfraAxisHandler
          extended by cgl.narada.wsinfra.deployment.axis.wsrm.handler.WsrmSourceRequestHandler
All Implemented Interfaces:
WsMessageFlow, Serializable, org.apache.axis.Handler

public class WsrmSourceRequestHandler
extends WsInfraAxisHandler

WsrmSourceRequestHandler handles the messages that are received from request chain and sent by the Sink handler of other endpoint.

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
WsrmSourceRequestHandler()
           
 
Method Summary
 void initilize()
          initilize required intences for Source handler.
 void invoke(org.apache.axis.MessageContext msgContext)
          This method receives messages from sink and starts handling process.
 boolean processMessage(SOAPContext soapContext, int direction)
          This method returns a boolean which indicates whether further processing should continue or if it should stop.
 
Methods inherited from class cgl.narada.wsinfra.deployment.axis.WsInfraAxisHandler
addHandler, enrouteToApplication, enrouteToNetwork, getSoapActionURI, getSOAPContext, initilizeInfraAxisHandler, setIdentifier, setSoapActionURI
 
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

WsrmSourceRequestHandler

public WsrmSourceRequestHandler()
Method Detail

initilize

public void initilize()
initilize required intences for Source handler.


processMessage

public boolean processMessage(SOAPContext soapContext,
                              int direction)
                       throws UnknownExchangeException,
                              IncorrectExchangeException,
                              MessageFlowException,
                              ProcessingException
This method returns a boolean which indicates whether further processing should continue or if it should stop. A return value of true indicates that processing should continue; while false indicates that processing should stop.

Throws:
UnknownExchangeException
IncorrectExchangeException
MessageFlowException
ProcessingException

invoke

public void invoke(org.apache.axis.MessageContext msgContext)
            throws org.apache.axis.AxisFault
This method receives messages from sink and starts handling process.

Specified by:
invoke in interface org.apache.axis.Handler
Overrides:
invoke in class WsInfraAxisHandler
Throws:
org.apache.axis.AxisFault


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