|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface NotificationService
This is the notification service which handle all notification related stuff.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.ow2.petals.component.framework.api.notification.LifeCyle |
|---|
LifeCyle.STATE |
| Method Summary | |
|---|---|
void |
addListener(StatusListener listener)
Add a global listener which will react on notification subscription changes |
AsyncSender |
getAsyncSender(StatusListener listener)
Get an asynchronous sender and pass it a listener to handle responses. |
NotificationBrokerController |
getNotificationBrokerController()
The notification broker controller |
Sender |
getSender()
The sender which is in charge of sending things through the service bus. |
void |
setActive(boolean status)
Activate or unactivate the notifications feature. |
| Methods inherited from interface org.ow2.petals.component.framework.api.notification.LifeCyle |
|---|
init, start, stop |
| Methods inherited from interface org.ow2.petals.component.framework.api.notification.StatusListener |
|---|
onException, onRegistered, onSubscribed, onUnregistered, onUnsubscribed |
| Method Detail |
|---|
void setActive(boolean status)
throws PEtALSCDKException
PEtALSCDKExceptionNotificationBrokerController getNotificationBrokerController()
Sender getSender()
void addListener(StatusListener listener)
listener - AsyncSender getAsyncSender(StatusListener listener)
AsyncSender is returned on each call.
listener -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||