This documentation differs from the official API.
Jadeite adds
extra features to the API including:
variable font sizes,
constructions examples,
placeholders for classes and methods, and auto-generated “See Also” links.
Additionally it
is missing some items found in standard Javadoc documentation, including:
generics type information,
“Deprecated” tags and comments,
“See Also” links,
along with other minor differences.
Please send any questions or feedback to
bam@cs.cmu.edu.
java.beans.beancontext
class BeanContextServiceRevokedEvent
- All Implemented Interfaces:
- Serializable
public class BeanContextServiceRevokedEvent
extends BeanContextEvent
This event type is used by the
BeanContextServiceRevokedListener
in order to
identify the service being revoked.
Field Summary |
protected Class |
serviceClass
A Class reference to the service that is being revoked. |
Constructor Summary |
Construct a BeanContextServiceEvent .
|
Method Summary |
Class |
Gets the service class that is the subject of this notification
|
BeanContextServices |
Gets the source as a reference of type BeanContextServices
|
boolean |
Reports if the current service is being forcibly revoked,
in which case the references are now invalidated and unusable.
|
boolean |
Checks this event to determine whether or not
the service being revoked is of a particular class.
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
serviceClass
protected Class serviceClass
-
A
Class
reference to the service that is being revoked.
BeanContextServiceRevokedEvent
public BeanContextServiceRevokedEvent(BeanContextServices bcs,
Class sc,
boolean invalidate)
-
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
getServiceClass
public Class getServiceClass()
-
Gets the service class that is the subject of this notification
- Returns:
- A
Class
reference to the
service that is being revoked
getSourceAsBeanContextServices
public BeanContextServices getSourceAsBeanContextServices()
-
Gets the source as a reference of type
BeanContextServices
- Returns:
- the
BeanContextServices
from which
this service is being revoked
isCurrentServiceInvalidNow
public boolean isCurrentServiceInvalidNow()
-
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
isServiceClass
public boolean isServiceClass(Class service)
-
Checks this event to determine whether or not
the service being revoked is of a particular class.
- Parameters:
service
- the service of interest (should be non-null)
- Returns:
true
if the service being revoked is of the
same class as the specified service
This documentation differs from the official API.
Jadeite adds
extra features to the API including:
variable font sizes,
constructions examples,
placeholders for classes and methods, and auto-generated “See Also” links.
Additionally it
is missing some items found in standard Javadoc documentation, including:
generics type information,
“Deprecated” tags and comments,
“See Also” links,
along with other minor differences.
Please send any questions or feedback to
bam@cs.cmu.edu.
This page displays the
Jadeite version of the documention, which is derived from the offical documentation that contains this copyright notice:
The official Sun™ documentation can be found here at
http://java.sun.com/javase/6/docs/api/.