public class BeanContextChildSupport extends java.lang.Object implements BeanContextChild, BeanContextServicesListener, java.io.Serializable
Modifier and Type | Field and Description |
---|---|
protected BeanContext |
beanContext |
BeanContextChild |
beanContextChildPeer |
protected PropertyChangeSupport |
pcSupport |
protected boolean |
rejectedSetBCOnce |
protected VetoableChangeSupport |
vcSupport |
Constructor and Description |
---|
BeanContextChildSupport() |
BeanContextChildSupport(BeanContextChild bcc) |
protected transient BeanContext beanContext
public BeanContextChild beanContextChildPeer
protected PropertyChangeSupport pcSupport
protected transient boolean rejectedSetBCOnce
protected VetoableChangeSupport vcSupport
public BeanContextChildSupport()
public BeanContextChildSupport(BeanContextChild bcc)
public void addPropertyChangeListener(java.lang.String name, PropertyChangeListener pcl)
addPropertyChangeListener
in interface BeanContextChild
public void addVetoableChangeListener(java.lang.String name, VetoableChangeListener vcl)
addVetoableChangeListener
in interface BeanContextChild
public void firePropertyChange(java.lang.String name, java.lang.Object oldValue, java.lang.Object newValue)
public void fireVetoableChange(java.lang.String name, java.lang.Object oldValue, java.lang.Object newValue) throws PropertyVetoException
PropertyVetoException
public BeanContext getBeanContext()
getBeanContext
in interface BeanContextChild
public BeanContextChild getBeanContextChildPeer()
protected void initializeBeanContextResources()
public boolean isDelegated()
protected void releaseBeanContextResources()
public void removePropertyChangeListener(java.lang.String name, PropertyChangeListener pcl)
removePropertyChangeListener
in interface BeanContextChild
public void removeVetoableChangeListener(java.lang.String name, VetoableChangeListener vcl)
removeVetoableChangeListener
in interface BeanContextChild
public void serviceAvailable(BeanContextServiceAvailableEvent bcsae)
serviceAvailable
in interface BeanContextServicesListener
public void serviceRevoked(BeanContextServiceRevokedEvent bcsre)
serviceRevoked
in interface BeanContextServiceRevokedListener
public void setBeanContext(BeanContext bc) throws PropertyVetoException
setBeanContext
in interface BeanContextChild
PropertyVetoException
public boolean validatePendingSetBeanContext(BeanContext newValue)