|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcgl.narada.wsinfra.WsProcessor
cgl.narada.wsinfra.wsr.impl.WsrSinkNodeHelper
| Constructor Summary | |
WsrSinkNodeHelper()
Creates a new instance of WsrSinkNodeHelper |
|
| Method Summary | |
void |
checkExchangeType(WsrExchangeInfo wsrExchangeInfo,
int direction)
Checks an exchange type for validity. |
void |
checkForProblemsInPollRequestDocument(PollRequestDocument pollRequestDocument,
AddressingHeaders addressingHeaders)
check for problems in PollRequest Document |
boolean |
checkForProblemsInRequestDocument(RequestDocument requestDocument,
AddressingHeaders addressingHeaders)
This method checks the probles in Request Document |
WsrGroupInfoImpl |
createGroupInfoFromRequestDocument(RequestDocument requestDocument,
AddressingHeaders addressingHeaders)
create GroupInfo from Request Document |
long[] |
createLongArrayFromVector(Vector vector)
create Long Number array from Vector |
WsrStorageWidgetImpl |
createMessageInfoFromRequestDocument(RequestDocument requestDocument)
Create MessageInfo from Requestdocument |
EnvelopeDocument |
createResponse(AddressingHeaders addressingHeaders,
RequestDocument requestDocument,
ResponseDocument responseDocument)
This method will create response based on reply pattern. |
static WsrSinkNodeHelper |
getInstance()
|
WsMessageFlow |
getMessageFlow()
Gets the message flow which the processor should use. |
EnvelopeDocument |
getSoapEnvelope(AddressingHeaders addressingHeaders,
String replyTo)
|
void |
initialize(WsrStorageService wsrStorageService)
|
boolean |
processExchange(EnvelopeDocument envelopeDocument,
int direction)
This is the method which all implementations of the various WS specifications will override. |
void |
setEndpointReference(EndpointReferenceType endpointReference)
|
void |
setMessageFlow(WsMessageFlow wsMessageFlow)
Sets the message flow which the processor should use |
void |
throwInvalidMessageFaultException(String reason,
AddressingHeaders addressingHeaders)
Throws an Invalid MessageFault exception based on the specified parameters |
void |
updateGroupTerminationInfo(WsrGroupTerminationInfoImpl wsrGroupTerminationInfo,
Calendar groupExpiryTime,
GDuration groupMaxIdleDuration,
Calendar messageExpiryTime)
update groupTerminationInfo object according to specified parameters |
| Methods inherited from class cgl.narada.wsinfra.WsProcessor |
enrouteToApplication, enrouteToNetwork, isFault, manageFaultException, processExchange, processExchange |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public WsrSinkNodeHelper()
| Method Detail |
public static WsrSinkNodeHelper getInstance()
public void initialize(WsrStorageService wsrStorageService)
throws DeploymentException
DeploymentException
public boolean processExchange(EnvelopeDocument envelopeDocument,
int direction)
throws UnknownExchangeException,
IncorrectExchangeException,
ProcessingException,
MessageFlowException
WsProcessor
processExchange in class WsProcessorUnknownExchangeException
IncorrectExchangeException
ProcessingException
MessageFlowException
public void setMessageFlow(WsMessageFlow wsMessageFlow)
throws DeploymentException
setMessageFlow in class WsProcessorDeploymentExceptionpublic WsMessageFlow getMessageFlow()
getMessageFlow in class WsProcessorpublic void setEndpointReference(EndpointReferenceType endpointReference)
public boolean checkForProblemsInRequestDocument(RequestDocument requestDocument,
AddressingHeaders addressingHeaders)
throws WsFaultException,
WsrStorageException,
MessageFlowException
WsFaultException
WsrStorageException
MessageFlowException
public EnvelopeDocument createResponse(AddressingHeaders addressingHeaders,
RequestDocument requestDocument,
ResponseDocument responseDocument)
public EnvelopeDocument getSoapEnvelope(AddressingHeaders addressingHeaders,
String replyTo)
public WsrGroupInfoImpl createGroupInfoFromRequestDocument(RequestDocument requestDocument,
AddressingHeaders addressingHeaders)
public WsrStorageWidgetImpl createMessageInfoFromRequestDocument(RequestDocument requestDocument)
public void updateGroupTerminationInfo(WsrGroupTerminationInfoImpl wsrGroupTerminationInfo,
Calendar groupExpiryTime,
GDuration groupMaxIdleDuration,
Calendar messageExpiryTime)
public void checkExchangeType(WsrExchangeInfo wsrExchangeInfo,
int direction)
throws UnknownExchangeException,
IncorrectExchangeException
UnknownExchangeException
IncorrectExchangeException
public void throwInvalidMessageFaultException(String reason,
AddressingHeaders addressingHeaders)
throws WsFaultException
WsFaultException
public void checkForProblemsInPollRequestDocument(PollRequestDocument pollRequestDocument,
AddressingHeaders addressingHeaders)
throws WsFaultException
WsFaultExceptionpublic long[] createLongArrayFromVector(Vector vector)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||