Package jadex.commons.beans.beancontext
Class BeanContextChildSupport
- java.lang.Object
-
- jadex.commons.beans.beancontext.BeanContextChildSupport
-
- All Implemented Interfaces:
BeanContextChild,BeanContextServiceRevokedListener,BeanContextServicesListener,java.io.Serializable,java.util.EventListener
- Direct Known Subclasses:
BeanContextSupport
public class BeanContextChildSupport extends java.lang.Object implements BeanContextChild, BeanContextServicesListener, java.io.Serializable
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected BeanContextbeanContextBeanContextChildbeanContextChildPeerprotected PropertyChangeSupportpcSupportprotected booleanrejectedSetBCOnceprotected VetoableChangeSupportvcSupport
-
Constructor Summary
Constructors Constructor Description BeanContextChildSupport()BeanContextChildSupport(BeanContextChild bcc)
-
Method Summary
-
-
-
Field Detail
-
beanContext
protected transient BeanContext beanContext
-
beanContextChildPeer
public BeanContextChild beanContextChildPeer
-
pcSupport
protected PropertyChangeSupport pcSupport
-
rejectedSetBCOnce
protected transient boolean rejectedSetBCOnce
-
vcSupport
protected VetoableChangeSupport vcSupport
-
-
Constructor Detail
-
BeanContextChildSupport
public BeanContextChildSupport()
-
BeanContextChildSupport
public BeanContextChildSupport(BeanContextChild bcc)
-
-
Method Detail
-
addPropertyChangeListener
public void addPropertyChangeListener(java.lang.String name, PropertyChangeListener pcl)- Specified by:
addPropertyChangeListenerin interfaceBeanContextChild
-
addVetoableChangeListener
public void addVetoableChangeListener(java.lang.String name, VetoableChangeListener vcl)- Specified by:
addVetoableChangeListenerin interfaceBeanContextChild
-
firePropertyChange
public void firePropertyChange(java.lang.String name, java.lang.Object oldValue, java.lang.Object newValue)
-
fireVetoableChange
public void fireVetoableChange(java.lang.String name, java.lang.Object oldValue, java.lang.Object newValue) throws PropertyVetoException- Throws:
PropertyVetoException
-
getBeanContext
public BeanContext getBeanContext()
- Specified by:
getBeanContextin interfaceBeanContextChild
-
getBeanContextChildPeer
public BeanContextChild getBeanContextChildPeer()
-
initializeBeanContextResources
protected void initializeBeanContextResources()
-
isDelegated
public boolean isDelegated()
-
releaseBeanContextResources
protected void releaseBeanContextResources()
-
removePropertyChangeListener
public void removePropertyChangeListener(java.lang.String name, PropertyChangeListener pcl)- Specified by:
removePropertyChangeListenerin interfaceBeanContextChild
-
removeVetoableChangeListener
public void removeVetoableChangeListener(java.lang.String name, VetoableChangeListener vcl)- Specified by:
removeVetoableChangeListenerin interfaceBeanContextChild
-
serviceAvailable
public void serviceAvailable(BeanContextServiceAvailableEvent bcsae)
- Specified by:
serviceAvailablein interfaceBeanContextServicesListener
-
serviceRevoked
public void serviceRevoked(BeanContextServiceRevokedEvent bcsre)
- Specified by:
serviceRevokedin interfaceBeanContextServiceRevokedListener
-
setBeanContext
public void setBeanContext(BeanContext bc) throws PropertyVetoException
- Specified by:
setBeanContextin interfaceBeanContextChild- Throws:
PropertyVetoException
-
validatePendingSetBeanContext
public boolean validatePendingSetBeanContext(BeanContext newValue)
-
-