java.beans.beancontext

Interface BeanContextServiceRevokedListener

public interface BeanContextServiceRevokedListener extends EventListener

Listens for service revoke events.

Since: JDK1.2

Method Summary
voidserviceRevoked(BeanContextServiceRevokedEvent event)
Called by BeanContextServices.revokeService() to indicate that a service has been revoked.

Method Detail

serviceRevoked

public void serviceRevoked(BeanContextServiceRevokedEvent event)
Called by BeanContextServices.revokeService() to indicate that a service has been revoked. If you have a reference to such a service, it should be discarded and may no longer function properly. getService() will no longer work on the specified service class after this event has been fired.

Parameters: event the service revoked event.

See Also: BeanContextServices