|
Foundation |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.sas.services.mgmt.ServiceNotificationBroadcaster
public class ServiceNotificationBroadcaster
Service notification broadcaster. Observers interested in receiving notifications about changes to a service may register themselves with this notification broadcaster.
Constructor Summary | |
---|---|
ServiceNotificationBroadcaster()
|
Method Summary | |
---|---|
void |
addServiceObserver(ServiceRemoteObserverInterface serviceObserver)
Adds a service observer. |
void |
notifyServiceObservers(ServiceEvent serviceEvent)
Notify all registered service observers of the specified service event. |
void |
removeAllServiceObservers()
Removes all service observers. |
void |
removeServiceObserver(ServiceRemoteObserverInterface serviceObserver)
Removes a service observer. |
Constructor Detail |
---|
public ServiceNotificationBroadcaster()
Method Detail |
---|
public final void addServiceObserver(ServiceRemoteObserverInterface serviceObserver)
addServiceObserver
in interface ServiceNotificationBroadcasterInterface
serviceObserver
- An observer interested in receiving service notifications.public final void removeServiceObserver(ServiceRemoteObserverInterface serviceObserver)
removeServiceObserver
in interface ServiceNotificationBroadcasterInterface
serviceObserver
- An observer no longer interested in receiving service notifications.public final void removeAllServiceObservers()
removeAllServiceObservers
in interface ServiceNotificationBroadcasterInterface
public final void notifyServiceObservers(ServiceEvent serviceEvent)
notifyServiceObservers
in interface ServiceNotificationBroadcasterInterface
serviceEvent
- Service event to be broadcast to all registered service observers.
|
Foundation |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |