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 BeanContextChildpublic void addVetoableChangeListener(java.lang.String name,
VetoableChangeListener vcl)
addVetoableChangeListener in interface BeanContextChildpublic 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
PropertyVetoExceptionpublic BeanContext getBeanContext()
getBeanContext in interface BeanContextChildpublic BeanContextChild getBeanContextChildPeer()
protected void initializeBeanContextResources()
public boolean isDelegated()
protected void releaseBeanContextResources()
public void removePropertyChangeListener(java.lang.String name,
PropertyChangeListener pcl)
removePropertyChangeListener in interface BeanContextChildpublic void removeVetoableChangeListener(java.lang.String name,
VetoableChangeListener vcl)
removeVetoableChangeListener in interface BeanContextChildpublic void serviceAvailable(BeanContextServiceAvailableEvent bcsae)
serviceAvailable in interface BeanContextServicesListenerpublic void serviceRevoked(BeanContextServiceRevokedEvent bcsre)
serviceRevoked in interface BeanContextServiceRevokedListenerpublic void setBeanContext(BeanContext bc) throws PropertyVetoException
setBeanContext in interface BeanContextChildPropertyVetoExceptionpublic boolean validatePendingSetBeanContext(BeanContext newValue)