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

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

Fields inherited from class java.rmi.server.RemoteObject
ref
 
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.
 
Methods inherited from class java.rmi.server.UnicastRemoteObject
clone, exportObject, exportObject, exportObject, unexportObject
 
Methods inherited from class java.rmi.server.RemoteServer
getClientHost, getLog, setLog
 
Methods inherited from class java.rmi.server.RemoteObject
equals, getRef, hashCode, toString, toStub
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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.
Method Detail

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.

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




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