|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface MessageSubscribingService
Front end of the subscribing service in a specific messaging system. It wraps the actual underlying MOM system used for the subsccription without having a strong dependency on it (JMS, AMQP, ...). The concrete MOM system implementing this interface is managed by the IoC container under the name 'messageSubscribingService'.
| Method Summary | |
|---|---|
void |
subscribe(NotificationSubscriber listener,
NotificationTopic onTopic)
Subscribes the specified notification listener on the specified topic. |
void |
unsubscribe(NotificationSubscriber listener,
NotificationTopic fromTopic)
Unsubscribes the specified notification listener from the specified topic. |
| Method Detail |
|---|
void subscribe(NotificationSubscriber listener,
NotificationTopic onTopic)
listener - the listener to subscribe.onTopic - the event topic to subscribe.
void unsubscribe(NotificationSubscriber listener,
NotificationTopic fromTopic)
listener - the listener to unsubscribe.fromTopic - the event topîc to unsubscribe.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||