|
|||||||||
| 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.WseSinkProcessor
public class WseSinkProcessor
This class which implements the interface that encapsulates the behavior of a WS-Eventing sink node.
| Method Summary | |
|---|---|
EnvelopeDocument |
createGetStatus(String subscriptionIdentifier)
|
EnvelopeDocument |
createRenew(String subscriptionIdentifier,
Calendar renew)
|
EnvelopeDocument |
createSubscribeRequest(EndpointReferenceType sourceEpr,
String deliveryMode,
EndpointReferenceType endTo,
String filterDialect,
String filterConstraint,
Calendar expiresAt)
Creates a subscribe request based on the specified parameters. |
EnvelopeDocument |
createUnsubscribe(String subscriptionIdentifier)
|
static WseSinkProcessor |
getInstance()
|
WsMessageFlow |
getMessageFlow()
Gets the message flow which the processor should use. |
SubscriptionManagement |
getSubscriptionManagement()
Retrieves the subscription management |
void |
onSubscriptionExpiry(SubscriptionEntry expiredEntry)
Method that is called when one of the managed subscriptions expires |
boolean |
processExchange(EnvelopeDocument envelopeDocument,
int direction)
Process the exchange. |
void |
processGetStatusResponse(EnvelopeDocument envelopeDocument,
AddressingHeaders addressingHeaders)
This method is used to process GetStatusRsponses. |
void |
processNotification(EnvelopeDocument envelopeDocument,
AddressingHeaders addressingHeaders)
This method is used to ensure process notifications. |
void |
processRenewResponse(EnvelopeDocument envelopeDocument,
AddressingHeaders addressingHeaders)
This method is used to process RenewResponses. |
void |
processSubscribeResponse(EnvelopeDocument envelopeDocument,
AddressingHeaders addressingHeaders)
This method is used to process SubscribeResponses. |
void |
processSubscriptionEnd(EnvelopeDocument envelopeDocument,
AddressingHeaders addressingHeaders)
This method is used to process RenewResponses. |
void |
processUnsubscribeResponse(EnvelopeDocument envelopeDocument,
AddressingHeaders addressingHeaders)
This method is used to process UnsubscribeResponses. |
void |
setMessageFlow(WsMessageFlow wsMessageFlow)
Sets the message flow which the processor should use |
void |
setSinkEPR(EndpointReferenceType sinkEpr)
Sets the Sink EPR |
| 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 WseSinkProcessor getInstance()
public SubscriptionManagement getSubscriptionManagement()
public void setSinkEPR(EndpointReferenceType sinkEpr)
public void setMessageFlow(WsMessageFlow wsMessageFlow)
throws DeploymentException
setMessageFlow in class WsProcessorDeploymentExceptionpublic WsMessageFlow getMessageFlow()
getMessageFlow in class WsProcessor
public boolean processExchange(EnvelopeDocument envelopeDocument,
int direction)
throws UnknownExchangeException,
IncorrectExchangeException,
MessageFlowException,
ProcessingException
processExchange in class WsProcessorUnknownExchangeException
IncorrectExchangeException
MessageFlowException
ProcessingException
public EnvelopeDocument createSubscribeRequest(EndpointReferenceType sourceEpr,
String deliveryMode,
EndpointReferenceType endTo,
String filterDialect,
String filterConstraint,
Calendar expiresAt)
throws ProcessingException
ProcessingException
public EnvelopeDocument createGetStatus(String subscriptionIdentifier)
throws ProcessingException
ProcessingException
public EnvelopeDocument createRenew(String subscriptionIdentifier,
Calendar renew)
throws ProcessingException
ProcessingException
public EnvelopeDocument createUnsubscribe(String subscriptionIdentifier)
throws ProcessingException
ProcessingException
public void processNotification(EnvelopeDocument envelopeDocument,
AddressingHeaders addressingHeaders)
throws ProcessingException
ProcessingException
public void processSubscribeResponse(EnvelopeDocument envelopeDocument,
AddressingHeaders addressingHeaders)
throws WsFaultException,
ProcessingException
WsFaultException
ProcessingException
public void processRenewResponse(EnvelopeDocument envelopeDocument,
AddressingHeaders addressingHeaders)
throws WsFaultException,
ProcessingException
WsFaultException
ProcessingException
public void processGetStatusResponse(EnvelopeDocument envelopeDocument,
AddressingHeaders addressingHeaders)
throws WsFaultException,
ProcessingException
WsFaultException
ProcessingException
public void processUnsubscribeResponse(EnvelopeDocument envelopeDocument,
AddressingHeaders addressingHeaders)
throws WsFaultException
WsFaultException
public void processSubscriptionEnd(EnvelopeDocument envelopeDocument,
AddressingHeaders addressingHeaders)
throws WsFaultException,
ProcessingException
WsFaultException
ProcessingExceptionpublic void onSubscriptionExpiry(SubscriptionEntry expiredEntry)
onSubscriptionExpiry in interface SubscriptionExpiryListener
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||