com.sas.services.mgmt
Class ServiceRemoteObserver
java.lang.Object
|
+--java.rmi.server.RemoteObject
|
+--java.rmi.server.RemoteServer
|
+--java.rmi.server.UnicastRemoteObject
|
+--com.sas.services.mgmt.ServiceRemoteObserver
- All Implemented Interfaces:
- ServiceRemoteObserverInterface
- public abstract class ServiceRemoteObserver
- extends UnicastRemoteObject
- implements ServiceRemoteObserverInterface
Abstract implementation of a remoteable service observer. A subclass must
implement the
handleServiceEvent(ServiceEvent) method.
- Since:
- 1.0
- See Also:
- Serialized Form
|
Constructor Summary |
ServiceRemoteObserver()
Constructs a default instance of an observer capable of monitoring
a service. |
|
Method Summary |
abstract void |
handleServiceEvent(ServiceEvent serviceEvent)
Provides an event notification to the service observer describing
a change in the service. |
ServiceRemoteObserver
public ServiceRemoteObserver()
throws RemoteException
- Constructs a default instance of an observer capable of monitoring
a service.
- Throws:
RemoteException - if unable to export the remote object to the
RMI system.
handleServiceEvent
public abstract void handleServiceEvent(ServiceEvent serviceEvent)
throws ServiceException,
RemoteException
- Provides an event notification to the service observer describing
a change in the service. A concrete implementation of this class must
implement this abstract method.
- Specified by:
handleServiceEvent in interface ServiceRemoteObserverInterface
- Parameters:
serviceEvent - Event describing a change to the service which is to be
broadcast to registered listeners.- Throws:
ServiceException - in unable to execute the notification successfully.RemoteException - if a network anomaly occurs.
Copyright © 2006 SAS Institute Inc. All Rights Reserved.
javadoc generated Fri, 10 Feb 2006 17:29:00