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 BeanContext
beanContext
BeanContextChild
beanContextChildPeer
protected PropertyChangeSupport
pcSupport
protected boolean
rejectedSetBCOnce
protected VetoableChangeSupport
vcSupport
-
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:
addPropertyChangeListener
in interfaceBeanContextChild
-
addVetoableChangeListener
public void addVetoableChangeListener(java.lang.String name, VetoableChangeListener vcl)
- Specified by:
addVetoableChangeListener
in 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:
getBeanContext
in 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:
removePropertyChangeListener
in interfaceBeanContextChild
-
removeVetoableChangeListener
public void removeVetoableChangeListener(java.lang.String name, VetoableChangeListener vcl)
- Specified by:
removeVetoableChangeListener
in interfaceBeanContextChild
-
serviceAvailable
public void serviceAvailable(BeanContextServiceAvailableEvent bcsae)
- Specified by:
serviceAvailable
in interfaceBeanContextServicesListener
-
serviceRevoked
public void serviceRevoked(BeanContextServiceRevokedEvent bcsre)
- Specified by:
serviceRevoked
in interfaceBeanContextServiceRevokedListener
-
setBeanContext
public void setBeanContext(BeanContext bc) throws PropertyVetoException
- Specified by:
setBeanContext
in interfaceBeanContextChild
- Throws:
PropertyVetoException
-
validatePendingSetBeanContext
public boolean validatePendingSetBeanContext(BeanContext newValue)
-
-