| java.lang.Object org.apache.beehive.controls.runtime.webcontext.ControlBeanContextChildSupport
All known Subclasses: org.apache.beehive.controls.runtime.webcontext.ControlBeanContextSupport,
Method Summary | |
public void | addPropertyChangeListener(String name, PropertyChangeListener pcl) Adds a PropertyChangeListener
to this BeanContextChild
in order to receive a PropertyChangeEvent
whenever the specified property has changed. | public void | addVetoableChangeListener(String name, VetoableChangeListener vcl) Adds a VetoableChangeListener to
this BeanContextChild
to receive events whenever the specified property changes. | protected void | firePropertyChange(String name, Object oldValue, Object newValue) Fire a property change event. | public synchronized BeanContext | getBeanContext() Gets the BeanContext associated
with this BeanContextChild . | protected BeanContextChild | getPeer() Get the delegate for this child. | protected void | releaseBeanContextResources() Release any resources that may have been acumlated from the current bean context, invoked
by setBeanContext BEFORE the context is changed. | public void | removePropertyChangeListener(String name, PropertyChangeListener pcl) Removes a PropertyChangeListener from this
BeanContextChild so that it no longer
receives PropertyChangeEvents when the
specified property is changed. | public void | removeVetoableChangeListener(String name, VetoableChangeListener vcl) Removes a VetoableChangeListener from this
BeanContextChild so that it no longer receives
events when the specified property changes. | public void | serviceAvailable(BeanContextServiceAvailableEvent bcsae) The service named has been registered. | public void | serviceRevoked(BeanContextServiceRevokedEvent bcsre) The service named has been revoked. | public synchronized void | setBeanContext(BeanContext bc)
Objects that implement this interface,
shall fire a java.beans.PropertyChangeEvent, with parameters:
propertyName "beanContext", oldValue (the previous nesting
BeanContext instance, or null ),
newValue (the current nesting
BeanContext instance, or null ). |
ControlBeanContextChildSupport | public ControlBeanContextChildSupport()(Code) | | Constructor.
|
ControlBeanContextChildSupport | public ControlBeanContextChildSupport(BeanContextChild bcc)(Code) | | Constructor -- java bean implements BeanContextChild and delegates the interface
to this implementation.
Parameters: bcc - |
addPropertyChangeListener | public void addPropertyChangeListener(String name, PropertyChangeListener pcl)(Code) | | Adds a PropertyChangeListener
to this BeanContextChild
in order to receive a PropertyChangeEvent
whenever the specified property has changed.
Parameters: name - the name of the property to listen on Parameters: pcl - the PropertyChangeListener to add |
addVetoableChangeListener | public void addVetoableChangeListener(String name, VetoableChangeListener vcl)(Code) | | Adds a VetoableChangeListener to
this BeanContextChild
to receive events whenever the specified property changes.
Parameters: name - the name of the property to listen on Parameters: vcl - the VetoableChangeListener to add |
firePropertyChange | protected void firePropertyChange(String name, Object oldValue, Object newValue)(Code) | | Fire a property change event.
Parameters: name - Parameters: oldValue - Parameters: newValue - |
getBeanContext | public synchronized BeanContext getBeanContext()(Code) | | Gets the BeanContext associated
with this BeanContextChild .
the BeanContext associatedwith this BeanContextChild . |
releaseBeanContextResources | protected void releaseBeanContextResources()(Code) | | Release any resources that may have been acumlated from the current bean context, invoked
by setBeanContext BEFORE the context is changed.
|
removePropertyChangeListener | public void removePropertyChangeListener(String name, PropertyChangeListener pcl)(Code) | | Removes a PropertyChangeListener from this
BeanContextChild so that it no longer
receives PropertyChangeEvents when the
specified property is changed.
Parameters: name - the name of the property that was listened on Parameters: pcl - the PropertyChangeListener to remove |
removeVetoableChangeListener | public void removeVetoableChangeListener(String name, VetoableChangeListener vcl)(Code) | | Removes a VetoableChangeListener from this
BeanContextChild so that it no longer receives
events when the specified property changes.
Parameters: name - the name of the property that was listened on. Parameters: vcl - the VetoableChangeListener to remove. |
serviceAvailable | public void serviceAvailable(BeanContextServiceAvailableEvent bcsae)(Code) | | The service named has been registered. getService requests for
this service may now be made.
Parameters: bcsae - the BeanContextServiceAvailableEvent |
serviceRevoked | public void serviceRevoked(BeanContextServiceRevokedEvent bcsre)(Code) | | The service named has been revoked. getService requests for
this service will no longer be satisifed.
Parameters: bcsre - the BeanContextServiceRevokedEvent receivedby this listener. |
setBeanContext | public synchronized void setBeanContext(BeanContext bc) throws PropertyVetoException(Code) | |
Objects that implement this interface,
shall fire a java.beans.PropertyChangeEvent, with parameters:
propertyName "beanContext", oldValue (the previous nesting
BeanContext instance, or null ),
newValue (the current nesting
BeanContext instance, or null ).
A change in the value of the nesting BeanContext property of this
BeanContextChild may be vetoed by throwing the appropriate exception.
Parameters: bc - The BeanContext with whichto associate this BeanContextChild . |
|
|