cgl.narada.wsinfra.deployment.axis.wsr.handler
Class WsrSourceHandler

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

public class WsrSourceHandler
extends WsInfraAxisHandler

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
WsrSourceHandler()
          Constructor for the Source handler and it will initiates all services required to process SOAPMessage at WsrSource Node
 
Method Summary
 void invoke(org.apache.axis.MessageContext messageContext)
          This method is overwritten by extend classes
 boolean processMessage(EnvelopeDocument envelopeDocument, 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

WsrSourceHandler

public WsrSourceHandler()
                 throws DeploymentException
Constructor for the Source handler and it will initiates all services required to process SOAPMessage at WsrSource Node

Throws:
DeploymentException
Method Detail

invoke

public void invoke(org.apache.axis.MessageContext messageContext)
Description copied from class: WsInfraAxisHandler
This method is overwritten by extend classes

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

processMessage

public boolean processMessage(EnvelopeDocument envelopeDocument,
                              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