|
||||||||||
| 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.wse.impl.WseSubscriptionManagerProcessor
This class encapsulates the behavior of a WS-Eventing subscription manager node.
| Method Summary | |
static WseSubscriptionManagerProcessor |
getInstance()
|
WsMessageFlow |
getMessageFlow()
Gets the message flow which the processor should use. |
void |
onSubscriptionExpiry(SubscriptionEntry expiredEntry)
Method that is called when one of the managed subscriptions expires |
boolean |
processExchange(EnvelopeDocument envelopeDocument,
int direction)
Process the exchange. |
GetStatusResponseDocument |
processGetStatusOfSubscription(GetStatusDocument getStatusDocument)
Process the a GetStatus request issued by a sink. |
RenewResponseDocument |
processRenewSubscription(RenewDocument renewDocument)
Process a renew request issued by a sink. |
void |
processSubscriptionAddition(EnvelopeDocument envelopeDocument,
AddressingHeaders addressingHeaders)
This method is used to notify a subscription manager of the a successuful subscription request-response combination. |
void |
processSubscriptionRenewal(EnvelopeDocument envelopeDocument,
AddressingHeaders addressingHeaders)
|
void |
processSubscriptionStatus(EnvelopeDocument envelopeDocument,
AddressingHeaders addressingHeaders)
Process a request to get the status of a subscription. |
void |
processSubscriptionUnsubscribe(EnvelopeDocument envelopeDocument,
AddressingHeaders addressingHeaders)
|
EnvelopeDocument |
processUnsubscribe(UnsubscribeDocument unsubscribeDocument)
Process an unsubscribe request issued by a sink. |
void |
setMessageFlow(WsMessageFlow wsMessageFlow)
Sets the message flow which the processor should use |
void |
setSubscriptionManagerEPR(EndpointReferenceType subscriptionManagerEpr)
|
| Methods inherited from class cgl.narada.wsinfra.WsProcessor |
enrouteToApplication, enrouteToNetwork, enrouteToNetwork, isFault, manageFaultException, processExchange, processExchange |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public static WseSubscriptionManagerProcessor getInstance()
public void setMessageFlow(WsMessageFlow wsMessageFlow)
throws DeploymentException
setMessageFlow in class WsProcessorDeploymentExceptionpublic WsMessageFlow getMessageFlow()
getMessageFlow in class WsProcessorpublic void setSubscriptionManagerEPR(EndpointReferenceType subscriptionManagerEpr)
public boolean processExchange(EnvelopeDocument envelopeDocument,
int direction)
throws UnknownExchangeException,
IncorrectExchangeException,
ProcessingException,
MessageFlowException
processExchange in class WsProcessorUnknownExchangeException
IncorrectExchangeException
ProcessingException
MessageFlowException
public void processSubscriptionRenewal(EnvelopeDocument envelopeDocument,
AddressingHeaders addressingHeaders)
throws ProcessingException,
WsFaultException,
MessageFlowException
ProcessingException
WsFaultException
MessageFlowException
public void processSubscriptionStatus(EnvelopeDocument envelopeDocument,
AddressingHeaders addressingHeaders)
throws ProcessingException,
WsFaultException,
MessageFlowException
ProcessingException
WsFaultException
MessageFlowException
public void processSubscriptionUnsubscribe(EnvelopeDocument envelopeDocument,
AddressingHeaders addressingHeaders)
throws ProcessingException,
WsFaultException,
MessageFlowException
ProcessingException
WsFaultException
MessageFlowException
public void processSubscriptionAddition(EnvelopeDocument envelopeDocument,
AddressingHeaders addressingHeaders)
throws WsFaultException,
MessageFlowException
processSubscriptionAddition in interface WseSubscriptionManagerWsFaultException
MessageFlowException
public GetStatusResponseDocument processGetStatusOfSubscription(GetStatusDocument getStatusDocument)
throws WsFaultException
processGetStatusOfSubscription in interface WseSubscriptionManagerWsFaultException
public RenewResponseDocument processRenewSubscription(RenewDocument renewDocument)
throws WsFaultException
processRenewSubscription in interface WseSubscriptionManagerWsFaultException
public EnvelopeDocument processUnsubscribe(UnsubscribeDocument unsubscribeDocument)
throws WsFaultException
processUnsubscribe in interface WseSubscriptionManagerWsFaultExceptionpublic void onSubscriptionExpiry(SubscriptionEntry expiredEntry)
onSubscriptionExpiry in interface SubscriptionExpiryListener
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||