public interface BeanContextServiceRevokedListener extends EventListener
Modifier and Type | Method and Description |
---|---|
void |
serviceRevoked(BeanContextServiceRevokedEvent event)
Called by
BeanContextServices.revokeService() to indicate that a service has been revoked. |
void serviceRevoked(BeanContextServiceRevokedEvent event)
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.event
- the service revoked event.BeanContextServices.revokeService(java.lang.Class,java.beans.beancontext.BeanContextServiceProvider,boolean)