|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcgl.narada.wsinfra.WsProcessor
public abstract class WsProcessor
All Ws specifications extend this processor. This processor provides the entry point to connect WsMessageFlow implementations with the actual processing of exchanges in various protocols.
| Constructor Summary | |
|---|---|
WsProcessor()
|
|
| Method Summary | |
|---|---|
void |
enrouteToApplication(EnvelopeDocument envelopeDocument)
This method routes an envelope document enroute to the application. |
void |
enrouteToNetwork(EnvelopeDocument envelopeDocument)
This method routes an envelope document enroute to the network. |
void |
enrouteToNetwork(EnvelopeDocument envelopeDocument,
String sendTo)
This method routes an envelope document enroute to the network. |
abstract WsMessageFlow |
getMessageFlow()
Gets the message flow which the processor should use. |
boolean |
isFault(AddressingHeaders addressingHeaders)
Check to see if the addressing headers indicate that this is a fault. |
void |
manageFaultException(WsFaultException wsFaultException,
int direction)
This method will convert the fault to an appropriate fault document and route it back either to the application or over the network. |
abstract boolean |
processExchange(EnvelopeDocument envelopeDocument,
int direction)
This is the method which all implementations of the various WS specifications will override. |
boolean |
processExchange(SOAPContext soapContext,
int direction)
Process the exchange. |
boolean |
processExchange(SOAPMessage soapMessage,
int direction)
Process the exchange. |
abstract void |
setMessageFlow(WsMessageFlow messageFlow)
Sets the message flow which the processor should use. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public WsProcessor()
| Method Detail |
|---|
public abstract void setMessageFlow(WsMessageFlow messageFlow)
throws DeploymentException
DeploymentExceptionpublic abstract WsMessageFlow getMessageFlow()
public boolean processExchange(SOAPContext soapContext,
int direction)
throws UnknownExchangeException,
IncorrectExchangeException,
MessageFlowException,
ProcessingException
UnknownExchangeException
IncorrectExchangeException
MessageFlowException
ProcessingExceptionpublic boolean isFault(AddressingHeaders addressingHeaders)
public boolean processExchange(SOAPMessage soapMessage,
int direction)
throws UnknownExchangeException,
IncorrectExchangeException,
MessageFlowException,
ProcessingException
UnknownExchangeException
IncorrectExchangeException
MessageFlowException
ProcessingException
public abstract boolean processExchange(EnvelopeDocument envelopeDocument,
int direction)
throws UnknownExchangeException,
IncorrectExchangeException,
ProcessingException,
MessageFlowException
UnknownExchangeException
IncorrectExchangeException
ProcessingException
MessageFlowException
public void manageFaultException(WsFaultException wsFaultException,
int direction)
throws MessageFlowException
MessageFlowException
public void enrouteToNetwork(EnvelopeDocument envelopeDocument,
String sendTo)
throws MessageFlowException
MessageFlowException
public void enrouteToNetwork(EnvelopeDocument envelopeDocument)
throws MessageFlowException
MessageFlowException
public void enrouteToApplication(EnvelopeDocument envelopeDocument)
throws MessageFlowException
MessageFlowException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||