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 BeanContextEvent

java.lang.Object extended by java.util.EventObject extended by java.beans.beancontext.BeanContextEvent
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
BeanContextMembershipEvent, BeanContextServiceAvailableEvent, BeanContextServiceRevokedEvent

public abstract class BeanContextEvent
extends EventObject

BeanContextEvent is the abstract root event class for all events emitted from, and pertaining to the semantics of, a BeanContext. This class introduces a mechanism to allow the propagation of BeanContextEvent subclasses through a hierarchy of BeanContexts. The setPropagatedFrom() and getPropagatedFrom() methods allow a BeanContext to identify itself as the source of a propagated event.


Field Summary
protected BeanContext propagatedFrom
          The BeanContext from which this event was propagated
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
protected

          Contruct a BeanContextEvent
 
Method Summary
 BeanContext

          Gets the BeanContext associated with this event.
 BeanContext

          Gets the BeanContext from which this event was propagated.
 boolean

          Reports whether or not this event is propagated from some other BeanContext.
 void

          Sets the BeanContext from which this event was propagated.
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

propagatedFrom

protected BeanContext propagatedFrom
The BeanContext from which this event was propagated
Constructor Detail

BeanContextEvent

protected BeanContextEvent(BeanContext bc)
Contruct a BeanContextEvent

Parameters:
bc - The BeanContext source
Method Detail

getBeanContext

public BeanContext getBeanContext()
Gets the BeanContext associated with this event.

Returns:
the BeanContext associated with this event.

getPropagatedFrom

public synchronized BeanContext getPropagatedFrom()
Gets the BeanContext from which this event was propagated.

Returns:
the BeanContext from which this event was propagated

isPropagated

public synchronized boolean isPropagated()
Reports whether or not this event is propagated from some other BeanContext.

Returns:
true if propagated, false if not

setPropagatedFrom

public synchronized void setPropagatedFrom(BeanContext bc)
Sets the BeanContext from which this event was propagated.

Parameters:
bc - the BeanContext from which this event was propagated


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:
Copyright 2008 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.
The official Sun™ documentation can be found here at http://java.sun.com/javase/6/docs/api/.