WebFlow
Class WebFlowContextImpl

java.lang.Object
  |
  +--org.omg.CORBA.portable.ObjectImpl
        |
        +--org.omg.CORBA.DynamicImplementation
              |
              +--WebFlow.WebFlowContextImpl

public class WebFlowContextImpl
extends org.omg.CORBA.DynamicImplementation

This class manages hookups between properties, so that a bound property change on object X turns into a property set on a related property on object Y.

We do this by associating a PropertyHookup adaptor with each source object that we are interested in. As part of the adaptor we keep track of which target setter methods to call when a given property changes.


Field Summary
 WebFlow.moduleFactory BlackMFImpl
           
 WebFlow.moduleFactory factory
           
 boolean non_existent
           
 WebFlow.moduleFactory RedMFImpl
           
 java.lang.Process repository
           
 WebFlow._WebFlowContextImplBase_tie WebFlowContextPeer_tie
           
 
Constructor Summary
WebFlowContextImpl(WebFlow.configReader configSettings, org.omg.CORBA.ORB orb, java.lang.String WFSName, WebFlow.moduleFactory factory)
           
WebFlowContextImpl(java.lang.String configFile, org.omg.CORBA.ORB orb, WebFlow.BOA boa, java.lang.Process repository)
          Constructor for a new property hookup adaptor.
 
Method Summary
 java.lang.String[] _ids()
           
 void checkSource(org.omg.CORBA.Object o)
           
 void compareSourceTarget(org.omg.CORBA.Object target)
           
 WebFlowContextOps getImpl()
           
 org.omg.CORBA.Object getSource(org.omg.CORBA.Object src)
           
 void invoke(org.omg.CORBA.ServerRequest request)
           
 void invokeSetterMethod(org.omg.CORBA.Object target, java.lang.String setter, org.omg.CORBA.Object evt)
           
 void startModuleFactory()
           
 
Methods inherited from class org.omg.CORBA.portable.ObjectImpl
_create_request, _create_request, _duplicate, _get_delegate, _get_domain_managers, _get_interface_def, _get_policy, _hash, _invoke, _is_a, _is_equivalent, _is_local, _non_existent, _orb, _release, _releaseReply, _request, _request, _servant_postinvoke, _servant_preinvoke, _set_delegate, _set_policy_override, equals, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

WebFlowContextPeer_tie

public WebFlow._WebFlowContextImplBase_tie WebFlowContextPeer_tie

factory

public WebFlow.moduleFactory factory

RedMFImpl

public WebFlow.moduleFactory RedMFImpl

BlackMFImpl

public WebFlow.moduleFactory BlackMFImpl

repository

public java.lang.Process repository

non_existent

public boolean non_existent
Constructor Detail

WebFlowContextImpl

public WebFlowContextImpl(java.lang.String configFile,
                          org.omg.CORBA.ORB orb,
                          WebFlow.BOA boa,
                          java.lang.Process repository)
                   throws java.lang.NullPointerException,
                          WebFlow.event.PropertyVetoException
Constructor for a new property hookup adaptor.

WebFlowContextImpl

public WebFlowContextImpl(WebFlow.configReader configSettings,
                          org.omg.CORBA.ORB orb,
                          java.lang.String WFSName,
                          WebFlow.moduleFactory factory)
                   throws java.lang.NullPointerException,
                          WebFlow.event.PropertyVetoException
Method Detail

_ids

public java.lang.String[] _ids()
Overrides:
_ids in class org.omg.CORBA.portable.ObjectImpl

getImpl

public WebFlowContextOps getImpl()

invoke

public void invoke(org.omg.CORBA.ServerRequest request)
Overrides:
invoke in class org.omg.CORBA.DynamicImplementation

checkSource

public void checkSource(org.omg.CORBA.Object o)

compareSourceTarget

public void compareSourceTarget(org.omg.CORBA.Object target)

getSource

public org.omg.CORBA.Object getSource(org.omg.CORBA.Object src)

invokeSetterMethod

public void invokeSetterMethod(org.omg.CORBA.Object target,
                               java.lang.String setter,
                               org.omg.CORBA.Object evt)

startModuleFactory

public void startModuleFactory()