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

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.WsrmSinkHandler
All Implemented Interfaces:
WsMessageFlow, Serializable, org.apache.axis.Handler

public class WsrmSinkHandler
extends WsInfraAxisHandler

WsrmSinkHandler handles the received messages. To send a message reliably, Several messages are exchanged between Source and Sink.

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
WsrmSinkHandler()
           
 
Method Summary
 void initilize()
          Initilize required istances for Sink Handler.
 void invoke(org.apache.axis.MessageContext msgContext)
          This invoke method overwrites the invoke method of base class.
 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

WsrmSinkHandler

public WsrmSinkHandler()
Method Detail

initilize

public void initilize()
Initilize required istances for Sink 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 invoke method overwrites the invoke method of base class. It handles the received messages from the network (Source).

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