API Overview API Index Package Overview Direct link to this page
JDK 1.6
  java.beans.beancontext. BeanContextChildSupport View Source
Author(s)
Laurence P. G. Cable
Since
1.2
Version
1.17, 11/17/05
Serial
Hierarchy
 Object
      BeanContextChildSupport
Implements
 BeanContextChild
 BeanContextServicesListener
 Serializable
Subclasses
Description
public class BeanContextChildSupport
  This is a general support class to provide support for implementing the BeanContextChild protocol.
Constructors
public BeanContextChildSupport ()
construct a BeanContextChildSupport where this class has been subclassed in order to implement the JavaBean component itself.
public BeanContextChildSupport (BeanContextChild bcc)
construct a BeanContextChildSupport where the JavaBean component itself implements BeanContextChild, and encapsulates this, delegating that interface to this implementation
Methods
Hide/Show inherited methods
public void addPropertyChangeListener (String name, PropertyChangeListener pcl) [Specified in BeanContextChild]
  Add a PropertyChangeListener for a specific property.
public void addVetoableChangeListener (String name, VetoableChangeListener vcl) [Specified in BeanContextChild]
  Add a VetoableChangeListener for a specific property.
public void firePropertyChange (String name, Object oldValue, Object newValue)
  Report a bound property update to any registered listeners.
public void fireVetoableChange (String name, Object oldValue, Object newValue) throws PropertyVetoException
  Report a vetoable property update to any registered listeners.
publicsynchronized BeanContext getBeanContext () [Specified in BeanContextChild]
  Gets the nesting BeanContext for this BeanContextChildSupport.
public BeanContextChild getBeanContextChildPeer ()
  Gets the BeanContextChild associated with this BeanContextChildSupport.
protected void initializeBeanContextResources ()
  This method may be overridden by subclasses to provide their own initialization behaviors.
public boolean isDelegated ()
  Reports whether or not this class is a delegate of another.
protected void releaseBeanContextResources ()
  This method may be overridden by subclasses to provide their own release behaviors.
public void removePropertyChangeListener (String name, PropertyChangeListener pcl) [Specified in BeanContextChild]
  Remove a PropertyChangeListener for a specific property.
public void removeVetoableChangeListener (String name, VetoableChangeListener vcl) [Specified in BeanContextChild]
  Removes a VetoableChangeListener.
public void serviceAvailable (BeanContextServiceAvailableEvent bcsae) [Specified in BeanContextServicesListener]
  A new service is available from the nesting BeanContext.
public void serviceRevoked (BeanContextServiceRevokedEvent bcsre)
  A service provided by the nesting BeanContext has been revoked.
publicsynchronized void setBeanContext (BeanContext bc) throws PropertyVetoException [Specified in BeanContextChild]
  Sets the BeanContext for this BeanContextChildSupport.
public boolean validatePendingSetBeanContext (BeanContext newValue)
  Called from setBeanContext to validate (or otherwise) the pending change in the nesting BeanContext property value.
Fields
Hide/Show inherited fields
protectedtransient BeanContext beanContext
public BeanContextChild beanContextChildPeer
The BeanContext in which this BeanContextChild is nested.
protected PropertyChangeSupport pcSupport
The PropertyChangeSupport associated with this BeanContextChildSupport.
protectedtransient boolean rejectedSetBCOnce
A flag indicating that there has been at least one PropertyChangeVetoException thrown for the attempted setBeanContext operation.
pack-privatefinalstatic long serialVersionUID = "6328947014421475877"
protected VetoableChangeSupport vcSupport
The VetoableChangeSupport associated with this BeanContextChildSupport.
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar