java.lang.Object | |||
↳ | java.util.EventObject | ||
↳ | java.beans.beancontext.BeanContextEvent | ||
↳ | java.beans.beancontext.BeanContextServiceRevokedEvent |
This event type is used by the
BeanContextServiceRevokedListener
in order to
identify the service being revoked.
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
serviceClass | A Class reference to the service that is being revoked. |
[Expand]
Inherited Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.beans.beancontext.BeanContextEvent
| |||||||||||
From class
java.util.EventObject
|
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Construct a
BeanContextServiceEvent . |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Gets the service class that is the subject of this notification
| |||||||||||
Gets the source as a reference of type
BeanContextServices | |||||||||||
Reports if the current service is being forcibly revoked,
in which case the references are now invalidated and unusable.
| |||||||||||
Checks this event to determine whether or not
the service being revoked is of a particular class.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.beans.beancontext.BeanContextEvent
| |||||||||||
From class
java.util.EventObject
| |||||||||||
From class
java.lang.Object
|
Construct a BeanContextServiceEvent
.
bcs | the BeanContextServices
from which this service is being revoked |
---|---|
sc | the service that is being revoked |
invalidate | true for immediate revocation
|
Gets the service class that is the subject of this notification
Class
reference to the
service that is being revoked
Gets the source as a reference of type BeanContextServices
BeanContextServices
from which
this service is being revoked
Reports if the current service is being forcibly revoked, in which case the references are now invalidated and unusable.
true
if current service is being forcibly revoked
Checks this event to determine whether or not the service being revoked is of a particular class.
service | the service of interest (should be non-null) |
---|
true
if the service being revoked is of the
same class as the specified service