com.ibm.able.platform
Interface RmiAblePlatformServiceEventGenerator
- All Superinterfaces:
- java.rmi.Remote
- All Known Subinterfaces:
- RmiAblePlatformService, RmiAgentLifeCycleService, RMIVerifiableDirectoryService, RMIVerifiableNamingService
- public interface RmiAblePlatformServiceEventGenerator
- extends java.rmi.Remote
This interface is implemented by remote platform services
that generate service events that can be listened for by the
general public; methods are provided to allow listeners of service
events to register and deregister with the implementing service.
- See Also:
AblePlatformServiceEventGenerator
addAblePlatformServiceEventListener
public void addAblePlatformServiceEventListener(AblePlatformServiceEventListener theListener)
throws java.rmi.RemoteException
- Adds a service event listener to this service.
- Parameters:
theListener
- Any object interested in listening for service events
generated by this service.
- Throws:
java.rmi.RemoteException
- On any RMI error.
removeAblePlatformServiceEventListener
public void removeAblePlatformServiceEventListener(AblePlatformServiceEventListener theListener)
throws java.rmi.RemoteException
- Removes a service event listener from this service.
- Parameters:
theListener
- A previously registered object that is no longer
interested in listening for service events generated
by this service.
- Throws:
java.rmi.RemoteException
- On any RMI error.
getAblePlatformServiceEventListeners
public java.util.Vector getAblePlatformServiceEventListeners()
throws java.rmi.RemoteException
- Gets a collection of all service event listeners registered with
this service event generator.
- Returns:
- All registered AblePlatformServiceEventListener objects.
- Throws:
java.rmi.RemoteException
- On any RMI error.
(C) Copyright IBM Corporation 1999, 2003