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

com.sas.services.mgmt
Interface ServiceNotificationBroadcasterInterface

All Superinterfaces:
All Known Subinterfaces:
AuthenticationServiceInterface, DiscoveryServiceInterface, EventBrokerDiscoveryServiceInterface, EventBrokerServiceInterface, InformationServiceInterface, LocalDiscoveryServiceInterface, LoggingServiceInterface, RemoteServiceInterface, ServiceInterface, SessionServiceInterface, StoredProcessServiceInterface, UserServiceInterface
All Known Implementing Classes:
AbstractRemoteService, ServiceNotificationBroadcaster,

public interface ServiceNotificationBroadcasterInterface
extends java.rmi.Remote

Interface used to add/remove platform service observers.

Since:
1.0

Method Summary
 void addServiceObserver(ServiceRemoteObserverInterface serviceObserver)
          Adds a platfrom 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 platform service observer.
 

Method Detail

addServiceObserver

public void addServiceObserver(ServiceRemoteObserverInterface serviceObserver)
                        throws RemoteException
Adds a platfrom service observer.
Parameters:
serviceObserver - An observer interested in receiving service notifications.
Throws:
RemoteException - if a network anomaly is encountered.

removeServiceObserver

public void removeServiceObserver(ServiceRemoteObserverInterface serviceObserver)
                           throws RemoteException
Removes a platform service observer.
Parameters:
serviceObserver - An observer no longer interested in receiving service notifications.
Throws:
RemoteException - if a network anomaly is encountered.

removeAllServiceObservers

public void removeAllServiceObservers()
                               throws RemoteException
Removes all service observers.
Throws:
RemoteException - if a network anomaly is encountered.

notifyServiceObservers

public void notifyServiceObservers(ServiceEvent serviceEvent)
                            throws RemoteException
Notify all registered service observers of the specified service event.
Parameters:
serviceEvent - Service event to be broadcast to all registered service observers.
Throws:
RemoteException - if a network anomaly is encountered.

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




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