cgl.narada.wsinfra.deployment.axis.wsrm.proxy
Class WsrmSinkProcessor

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

public class WsrmSinkProcessor
extends WsInfraAxisHandler

Create required instances for Sink. If a message arrives for sink, this class passes this message to underlying program to process it.

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
WsrmSinkProcessor()
           
 
Method Summary
 void initilize()
          Initilize required istances for Sink Handler.
 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, invoke, 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

WsrmSinkProcessor

public WsrmSinkProcessor()
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


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