ABLE 2.0.0 07/02/2003 10:25:01

com.ibm.able.platform
Interface AblePlatformServiceEventGenerator

All Known Subinterfaces:
AblePlatformService, AgentLifeCycleService, VerifiableAgentDirectoryService, VerifiableAgentNamingService

public interface AblePlatformServiceEventGenerator

This interface is implemented by 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:
RmiAblePlatformServiceEventGenerator

Method Summary
 void addAblePlatformServiceEventListener(AblePlatformServiceEventListener theListener)
          Adds a service event listener to this service.
 java.util.Vector getAblePlatformServiceEventListeners()
          Gets a collection of all service event listeners registered with this service event generator.
 void removeAblePlatformServiceEventListener(AblePlatformServiceEventListener theListener)
          Removes a service event listener from this service.
 

Method Detail

addAblePlatformServiceEventListener

public void addAblePlatformServiceEventListener(AblePlatformServiceEventListener theListener)
                                         throws AbleException
Adds a service event listener to this service.
Parameters:
theListener - Any object interested in listening for service events generated by this service.

Throws:
AbleException - On any error.

removeAblePlatformServiceEventListener

public void removeAblePlatformServiceEventListener(AblePlatformServiceEventListener theListener)
                                            throws AbleException
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:
AbleException - On any error.

getAblePlatformServiceEventListeners

public java.util.Vector getAblePlatformServiceEventListeners()
                                                      throws AbleException
Gets a collection of all service event listeners registered with this service event generator.
Returns:
All registered AblePlatformServiceEventListener objects.
Throws:
AbleException - On any error.

ABLE 2.0.0 07/02/2003 10:25:01

(C) Copyright IBM Corporation 1999, 2003