Construct a BeanContextServiceEvent.
Parameters: - bcs - the BeanContextServices
from which this service is being revoked
- sc - the service that is being revoked
- invalidate - true for immediate revocation
Gets the source as a reference of type BeanContextServices
Gets the source as a reference of type BeanContextServices Returns:
the BeanContextServices from which
this service is being revoked
public boolean
isCurrentServiceInvalidNow
()
Reports if the current service is being forcibly revoked,
in which case the references are now invalidated and unusable.
Reports if the current service is being forcibly revoked, in which case the references are now invalidated and unusable.
Returns:true if current service is being forcibly revoked
publicsynchronized boolean
isPropagated
()
[Inherited From BeanContextEvent]
Reports whether or not this event is
propagated from some other BeanContext.
Reports whether or not this event is propagated from some other BeanContext.
Returns:true if propagated, false
if not
Checks this event to determine whether or not
the service being revoked is of a particular class.
Checks this event to determine whether or not the service being revoked is of a particular class.
Returns:true if the service being revoked is of the
same class as the specified service
Parameters: - service - the service of interest (should be non-null)