java.beans.beancontext
Interface BeanContextServiceRevokedListener

All Superinterfaces:
EventListener
All Known Subinterfaces:
BeanContextServices, BeanContextServicesListener
All Known Implementing Classes:
BeanContextChildSupport, BeanContextServicesSupport, BeanContextServicesSupport.BCSSProxyServiceProvider, BeanContextSupport

public interface BeanContextServiceRevokedListener
extends EventListener

Listens for service revoke events.

Since:
JDK1.2

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

Method Detail

serviceRevoked

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.revokeService(java.lang.Class,java.beans.beancontext.BeanContextServiceProvider,boolean)