com.sas.services.mgmt
Class ServiceRemoteObserver
com.sas.services.mgmt.ServiceRemoteObserver
All Implemented Interfaces: ServiceRemoteObserverInterface , java.io.Serializable , java.rmi.Remote
public abstract class ServiceRemoteObserver 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 java.rmi.RemoteException
Constructs a default instance of an observer capable of monitoring
a service.
Throws:
java.rmi.RemoteException
- if unable to export the remote object to the
RMI system.
handleServiceEvent
public abstract void handleServiceEvent (ServiceEvent serviceEvent)
throws ServiceException ,
java.rmi.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.
java.rmi.RemoteException
- if a network anomaly occurs.
Copyright © 2009 SAS Institute Inc. All Rights Reserved.