|
|||||||||
| Home >> All >> java >> beans >> [ beancontext overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.beans.beancontext
Class BeanContextServiceRevokedEvent

java.lang.Objectjava.util.EventObject
java.beans.beancontext.BeanContextEvent
java.beans.beancontext.BeanContextServiceRevokedEvent
- All Implemented Interfaces:
- java.io.Serializable
- public class BeanContextServiceRevokedEvent
- extends BeanContextEvent
Event fired when services are revoked from a BeanContextServices.
- Since:
- JDK1.2
| Field Summary | |
private boolean |
invalidateRefs
|
private static long |
serialVersionUID
|
protected java.lang.Class |
serviceClass
The Class representing the service which is now
available. |
| Fields inherited from class java.beans.beancontext.BeanContextEvent |
propagatedFrom |
| Fields inherited from class java.util.EventObject |
source |
| Constructor Summary | |
BeanContextServiceRevokedEvent(BeanContextServices services,
java.lang.Class serviceClass,
boolean revokeNow)
Create a new service revoked event. |
|
| Method Summary | |
java.lang.Class |
getServiceClass()
Get the revoked service class. |
BeanContextServices |
getSourceAsBeanContextServices()
Get the BeanContextServices through which the service was available. |
boolean |
isCurrentServiceInvalidNow()
Tell whether current instances of the revoked service are usable or not. |
boolean |
isServiceClass(java.lang.Class c)
Tell whether the revoked service class is the same as the specified class. |
| Methods inherited from class java.beans.beancontext.BeanContextEvent |
getBeanContext, getPropagatedFrom, isPropagated, setPropagatedFrom |
| Methods inherited from class java.util.EventObject |
getSource, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
serviceClass
protected java.lang.Class serviceClass
- The
Classrepresenting the service which is now available.
invalidateRefs
private boolean invalidateRefs
| Constructor Detail |
BeanContextServiceRevokedEvent
public BeanContextServiceRevokedEvent(BeanContextServices services, java.lang.Class serviceClass, boolean revokeNow)
- Create a new service revoked event.
| Method Detail |
getServiceClass
public java.lang.Class getServiceClass()
- Get the revoked service class.
isServiceClass
public boolean isServiceClass(java.lang.Class c)
- Tell whether the revoked service class is the same as the specified class.
Identical to
getServiceClass().equals(c).
getSourceAsBeanContextServices
public BeanContextServices getSourceAsBeanContextServices()
- Get the
BeanContextServicesthrough which the service was available.
isCurrentServiceInvalidNow
public boolean isCurrentServiceInvalidNow()
- Tell whether current instances of the revoked service are usable or not.
This is determined by whether the service was revoked
immediately.
|
|||||||||
| Home >> All >> java >> beans >> [ beancontext overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC