***  This class is subject to change   ***

com.sas.services.mgmt
Class ServiceNotificationBroadcaster

java.lang.Object
  |
  +--com.sas.services.mgmt.ServiceNotificationBroadcaster
All Implemented Interfaces:
ServiceNotificationBroadcasterInterface

public class ServiceNotificationBroadcaster
extends Object
implements ServiceNotificationBroadcasterInterface, java.io.Serializable

Service notification broadcaster. Observers interested in receiving notifications about changes to a service may register themselves with this notification broadcaster.

Since:
1.0
See Also:
Serialized Form

Constructor Summary
ServiceNotificationBroadcaster()
          Constructs a default instance.
 
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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServiceNotificationBroadcaster

public ServiceNotificationBroadcaster()
Constructs a default instance.
Method Detail

addServiceObserver

public final void addServiceObserver(ServiceRemoteObserverInterface serviceObserver)
Adds a service observer.
Specified by:
addServiceObserver in interface ServiceNotificationBroadcasterInterface
Parameters:
serviceObserver - An observer interested in receiving service notifications.

removeServiceObserver

public final void removeServiceObserver(ServiceRemoteObserverInterface serviceObserver)
Removes a service observer.
Specified by:
removeServiceObserver in interface ServiceNotificationBroadcasterInterface
Parameters:
serviceObserver - An observer no longer interested in receiving service notifications.

removeAllServiceObservers

public final void removeAllServiceObservers()
Removes all service observers.
Specified by:
removeAllServiceObservers in interface ServiceNotificationBroadcasterInterface
Following copied from interface: com.sas.services.mgmt.ServiceNotificationBroadcasterInterface
Throws:
RemoteException - if a network anomaly is encountered.

notifyServiceObservers

public final void notifyServiceObservers(ServiceEvent serviceEvent)
Notify all registered service observers of the specified service event.
Specified by:
notifyServiceObservers in interface ServiceNotificationBroadcasterInterface
Parameters:
serviceEvent - Service event to be broadcast to all registered service observers.

***  This class is subject to change   ***




Copyright © 2006 SAS Institute Inc. All Rights Reserved.
javadoc generated Fri, 10 Feb 2006 17:29:00