API Overview API Index Package Overview Direct link to this page
JDK 1.6
  java.beans.beancontext. BeanContextServiceRevokedEvent View Source
Author(s)
Since
Version
Serial
Hierarchy
 Object
      EventObject
          BeanContextEvent
              BeanContextServiceRevokedEvent
Implements
Subclasses
Description
public class BeanContextServiceRevokedEvent
  This event type is used by the BeanContextServiceRevokedListener in order to identify the service being revoked.
See also:   
Constructors
public BeanContextServiceRevokedEvent (BeanContextServices bcs, Class sc, boolean invalidate)
  Construct a BeanContextServiceEvent.
Methods
Hide/Show inherited methods
public BeanContext getBeanContext () [Inherited From BeanContextEvent]
  Gets the BeanContext associated with this event.
publicsynchronized BeanContext getPropagatedFrom () [Inherited From BeanContextEvent]
  Gets the BeanContext from which this event was propagated.
public Class getServiceClass ()
  Gets the service class that is the subject of this notification
public Object getSource () [Inherited From EventObject]
  The object on which the Event initially occurred.
public BeanContextServices getSourceAsBeanContextServices ()
  Gets the source as a reference of type BeanContextServices
public boolean isCurrentServiceInvalidNow ()
  Reports if the current service is being forcibly revoked, in which case the references are now invalidated and unusable.
publicsynchronized boolean isPropagated () [Inherited From BeanContextEvent]
  Reports whether or not this event is propagated from some other BeanContext.
public boolean isServiceClass (Class service)
  Checks this event to determine whether or not the service being revoked is of a particular class.
publicsynchronized void setPropagatedFrom (BeanContext bc) [Inherited From BeanContextEvent]
  Sets the BeanContext from which this event was propagated.
public String toString () [Inherited From EventObject]
  Returns a String representation of this EventObject.
Fields
Hide/Show inherited fields
protected BeanContext propagatedFrom [Inherited From BeanContextEvent]
The BeanContext from which this event was propagated
protected Class serviceClass
A Class reference to the service that is being revoked.
protectedtransient Object source [Inherited From EventObject]
The object on which the Event initially occurred.
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar