|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.jw.cloud42.core.eventing.subscriptionProcessor.GenericSubscriptionProcessor
public class GenericSubscriptionProcessor
A generic implementation of a subscription processor. Getting the subscriber form the subscription message is delegated to more specific implementations.
| Constructor Summary | |
|---|---|
GenericSubscriptionProcessor()
|
|
| Method Summary | |
|---|---|
static java.lang.String |
generateId()
Generates an Id for a subscription. |
Subscription |
getSubscriberFromMessage(org.apache.axiom.om.OMElement message)
Read subscriber informations from subscription message. |
java.lang.String |
subscribe(org.apache.axiom.om.OMElement subscriptionMessage,
java.lang.String topic)
Processes a subscription request message. |
void |
unsubscribe(java.lang.String subscriptionId)
Processes a unsubscribe request message. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GenericSubscriptionProcessor()
| Method Detail |
|---|
public java.lang.String subscribe(org.apache.axiom.om.OMElement subscriptionMessage,
java.lang.String topic)
throws EventingException
subscribe in interface SubscriptionProcessorsubscriptionMessage -
EventingException
public void unsubscribe(java.lang.String subscriptionId)
throws EventingException
unsubscribe in interface SubscriptionProcessorsubscriptionId - id of the subscription to cancel.
EventingException
public Subscription getSubscriberFromMessage(org.apache.axiom.om.OMElement message)
throws EventingException
body - the SOAP body of the subscription message.
EventingException
public static java.lang.String generateId()
throws EventingException
EventingException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||