|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Defines methods common to all subscribers.
Method Summary | |
void |
addProperty(java.lang.String key,
java.lang.Object value)
To add a property to the subscriber. |
boolean |
doesMessageBelongToTheFilter(SavanMessageContext smc)
To check weather a certain message complies with the filter. |
Filter |
getFilter()
To get the Filter object |
java.lang.String |
getId()
To get the subscriber Id. |
java.lang.Object |
getProperty(java.lang.String key)
To get a property from the Subscriber. |
void |
processPublication(SavanMessageContext publication,
PublicationReport report)
|
void |
renewSubscription(ExpirationBean bean)
To renew a subscription. |
void |
setFilter(Filter filter)
To set the Filter object |
void |
setId(java.lang.String id)
To set the subscriber Id |
void |
setSubscriptionEndingTime(java.util.Date subscriptionEndingTime)
To set the Subscription expiration time. |
Method Detail |
public Filter getFilter()
public void setFilter(Filter filter)
filter
- public java.lang.String getId()
public void setId(java.lang.String id)
id
- public void addProperty(java.lang.String key, java.lang.Object value)
key
- value
- public java.lang.Object getProperty(java.lang.String key)
key
-
public boolean doesMessageBelongToTheFilter(SavanMessageContext smc) throws SavanException
smc
-
SavanException
public void processPublication(SavanMessageContext publication, PublicationReport report) throws SavanException
SavanException
public void setSubscriptionEndingTime(java.util.Date subscriptionEndingTime)
subscriptionEndingTime
- public void renewSubscription(ExpirationBean bean)
bean
-
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |