WebFlow
Class BeanContextChildSupport

java.lang.Object
  |
  +--WebFlow.BeanContextChildSupport
Direct Known Subclasses:
WebFlow.BeanContextSupport

public class BeanContextChildSupport
extends java.lang.Object
implements WebFlow.BeanContextChildOperations, WebFlow.BeanContextServicesListenerOperations


Field Summary
protected  org.omg.CORBA.Object beanContext
           
 org.omg.CORBA.Object beanContextChildPeer
           
protected  boolean isDeleted
           
protected  WebFlow.PropertyChangeSupport pcSupport
           
protected  boolean rejectedSetBCOnce
           
protected  WebFlow.VetoableChangeSupport vcSupport
           
 org.omg.CORBA.Object WebFlowContextPeer
           
 
Constructor Summary
BeanContextChildSupport(org.omg.CORBA.Object peer)
          construct a BeanContextChildSupport where this class has been subclassed in order to implement the JavaBean component itself.
 
Method Summary
 void addPropertyChangeListener(org.omg.CORBA.Object pcl)
           
 void addPropertyChangeListener(java.lang.String name, org.omg.CORBA.Object pcl)
          add a property change listener
 void addVetoableChangeListener(java.lang.String name, org.omg.CORBA.Object vcl)
          add a vetoable change listener
 void changeImpl(java.lang.String objName)
           
 void destroy()
           
 void fireEvent(java.lang.String eventMethod, org.omg.CORBA.Object evt)
          fires a propertyChange Event
 void firePropertyChange(java.lang.String name, org.omg.CORBA.Object oldValue, org.omg.CORBA.Object newValue)
           
 void firePropertyChange(java.lang.String name, java.lang.String oldValue, java.lang.String newValue)
           
 void fireVetoableChange(java.lang.String name, org.omg.CORBA.Object oldValue, org.omg.CORBA.Object newValue)
          fires a vetoableChange Event
 void fireVetoableChange(java.lang.String name, java.lang.String oldValue, java.lang.String newValue)
           
 org.omg.CORBA.Object getBeanContext()
           
 org.omg.CORBA.Object getBeanContextChildPeer()
           
 org.omg.CORBA.Object getMyProxy()
           
 java.lang.String getObjectID()
           
protected  void initializeBeanContextResources()
          This method may be overridden by subclasses to provide their own initialization behaviors.
 boolean IsChildProxy()
           
 boolean isDelegated()
           
 boolean isWFServer()
           
 org.omg.CORBA.Object[] pull()
           
protected  void releaseBeanContextResources()
          This method may be overridden by subclasses to provide their own release behaviors.
 void removeMyself()
           
 void removePropertyChangeListener(org.omg.CORBA.Object pcl)
           
 void removePropertyChangeListener(java.lang.String name, org.omg.CORBA.Object pcl)
          remove a property change listener
 void removeVetoableChangeListener(java.lang.String name, org.omg.CORBA.Object vcl)
          remove a vetoable change listener
 void serviceAvailable(WebFlow.event.BeanContextServiceAvailableEvent bcsae)
          a new service is available from the nesting BeanContext.
 void serviceRevoked(WebFlow.event.BeanContextServiceRevokedEvent bcsre)
          a service provided by the nesting BeanContext has been revoked.
 void setAsProxy(boolean isProxy)
           
 void setAsServer()
           
 void setBeanContext(org.omg.CORBA.Object bc)
          setBeanContext
 void setBeanContextChildPeer(org.omg.CORBA.Object bcc)
          setBeanContextChildPeer
 void setMyProxy(org.omg.CORBA.Object obj)
           
 void setObjectID(java.lang.String id)
           
 void setOrb(org.omg.CORBA.ORB orb)
           
 boolean validatePendingSetBeanContext(org.omg.CORBA.Object newValue)
          called from setBeanContext to validate (or otherwise) the pending change in the nesting BeanContext property value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

beanContextChildPeer

public org.omg.CORBA.Object beanContextChildPeer

WebFlowContextPeer

public org.omg.CORBA.Object WebFlowContextPeer

pcSupport

protected WebFlow.PropertyChangeSupport pcSupport

vcSupport

protected WebFlow.VetoableChangeSupport vcSupport

beanContext

protected transient org.omg.CORBA.Object beanContext

rejectedSetBCOnce

protected transient boolean rejectedSetBCOnce

isDeleted

protected boolean isDeleted
Constructor Detail

BeanContextChildSupport

public BeanContextChildSupport(org.omg.CORBA.Object peer)
                        throws WebFlow.NullPointerException
construct a BeanContextChildSupport where this class has been subclassed in order to implement the JavaBean component itself.
Method Detail

setAsServer

public void setAsServer()
Specified by:
setAsServer in interface WebFlow.BeanContextChildOperations

isWFServer

public boolean isWFServer()
Specified by:
isWFServer in interface WebFlow.BeanContextChildOperations

changeImpl

public void changeImpl(java.lang.String objName)
Specified by:
changeImpl in interface WebFlow.BeanContextChildOperations

removeMyself

public void removeMyself()
Specified by:
removeMyself in interface WebFlow.BeanContextChildOperations

pull

public org.omg.CORBA.Object[] pull()
Specified by:
pull in interface WebFlow.BeanContextChildOperations

setObjectID

public void setObjectID(java.lang.String id)
Specified by:
setObjectID in interface WebFlow.BeanContextChildOperations

getObjectID

public java.lang.String getObjectID()
Specified by:
getObjectID in interface WebFlow.BeanContextChildOperations

setMyProxy

public void setMyProxy(org.omg.CORBA.Object obj)
Specified by:
setMyProxy in interface WebFlow.BeanContextChildOperations

getMyProxy

public org.omg.CORBA.Object getMyProxy()
Specified by:
getMyProxy in interface WebFlow.BeanContextChildOperations

setOrb

public void setOrb(org.omg.CORBA.ORB orb)

setAsProxy

public void setAsProxy(boolean isProxy)

IsChildProxy

public boolean IsChildProxy()
Specified by:
IsChildProxy in interface WebFlow.BeanContextChildOperations

destroy

public void destroy()
Specified by:
destroy in interface WebFlow.BeanContextChildOperations

setBeanContextChildPeer

public void setBeanContextChildPeer(org.omg.CORBA.Object bcc)
                             throws WebFlow.NullPointerException
setBeanContextChildPeer
Specified by:
setBeanContextChildPeer in interface WebFlow.BeanContextChildOperations

setBeanContext

public void setBeanContext(org.omg.CORBA.Object bc)
                    throws WebFlow.event.PropertyVetoException
setBeanContext
Specified by:
setBeanContext in interface WebFlow.BeanContextChildOperations

getBeanContext

public org.omg.CORBA.Object getBeanContext()
Specified by:
getBeanContext in interface WebFlow.BeanContextChildOperations

addPropertyChangeListener

public void addPropertyChangeListener(java.lang.String name,
                                      org.omg.CORBA.Object pcl)
add a property change listener
Specified by:
addPropertyChangeListener in interface WebFlow.BeanContextChildOperations

addPropertyChangeListener

public void addPropertyChangeListener(org.omg.CORBA.Object pcl)

removePropertyChangeListener

public void removePropertyChangeListener(java.lang.String name,
                                         org.omg.CORBA.Object pcl)
remove a property change listener
Specified by:
removePropertyChangeListener in interface WebFlow.BeanContextChildOperations

removePropertyChangeListener

public void removePropertyChangeListener(org.omg.CORBA.Object pcl)

addVetoableChangeListener

public void addVetoableChangeListener(java.lang.String name,
                                      org.omg.CORBA.Object vcl)
add a vetoable change listener
Specified by:
addVetoableChangeListener in interface WebFlow.BeanContextChildOperations

removeVetoableChangeListener

public void removeVetoableChangeListener(java.lang.String name,
                                         org.omg.CORBA.Object vcl)
remove a vetoable change listener
Specified by:
removeVetoableChangeListener in interface WebFlow.BeanContextChildOperations

serviceRevoked

public void serviceRevoked(WebFlow.event.BeanContextServiceRevokedEvent bcsre)
                    throws WebFlow.IllegalArgumentException
a service provided by the nesting BeanContext has been revoked. subclasses may override this method in order to implement their own behaviors

serviceAvailable

public void serviceAvailable(WebFlow.event.BeanContextServiceAvailableEvent bcsae)
                      throws WebFlow.IllegalArgumentException
a new service is available from the nesting BeanContext. subclasses may override this method in order to implement their own behaviors
Specified by:
serviceAvailable in interface WebFlow.BeanContextServicesListenerOperations

getBeanContextChildPeer

public org.omg.CORBA.Object getBeanContextChildPeer()
Specified by:
getBeanContextChildPeer in interface WebFlow.BeanContextChildOperations
Returns:
the BeanContextChild peer of this class

isDelegated

public boolean isDelegated()
Returns:
true if this class is a delegate of another

fireEvent

public void fireEvent(java.lang.String eventMethod,
                      org.omg.CORBA.Object evt)
fires a propertyChange Event

firePropertyChange

public void firePropertyChange(java.lang.String name,
                               org.omg.CORBA.Object oldValue,
                               org.omg.CORBA.Object newValue)

firePropertyChange

public void firePropertyChange(java.lang.String name,
                               java.lang.String oldValue,
                               java.lang.String newValue)

fireVetoableChange

public void fireVetoableChange(java.lang.String name,
                               org.omg.CORBA.Object oldValue,
                               org.omg.CORBA.Object newValue)
                        throws WebFlow.event.PropertyVetoException
fires a vetoableChange Event

fireVetoableChange

public void fireVetoableChange(java.lang.String name,
                               java.lang.String oldValue,
                               java.lang.String newValue)
                        throws WebFlow.event.PropertyVetoException

validatePendingSetBeanContext

public boolean validatePendingSetBeanContext(org.omg.CORBA.Object newValue)
called from setBeanContext to validate (or otherwise) the pending change in the nesting BeanContext property value. returning false will cause setBeanContext to throw PropertyVetoException.

releaseBeanContextResources

protected void releaseBeanContextResources()
This method may be overridden by subclasses to provide their own release behaviors. When invoked any resources held by this instance obtained from its current BeanContext property should be released since the object is no longer nested within that BeanContext.

initializeBeanContextResources

protected void initializeBeanContextResources()
This method may be overridden by subclasses to provide their own initialization behaviors. When invoked any resources requried by the BeanContextChild should be obtained from the current BeanContext.