|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--WebFlow.BeanContextChildSupport | +--WebFlow.BeanContextSupport | +--WebFlow.WebFlowContextOps
Inner classes inherited from class WebFlow.BeanContextSupport |
WebFlow.BeanContextSupport.BCSChild,
WebFlow.BeanContextSupport.BCSIterator |
Fields inherited from class WebFlow.BeanContextSupport |
bcmListeners,
children,
designTime,
locale,
okToUseGui |
Fields inherited from class WebFlow.BeanContextChildSupport |
beanContext,
beanContextChildPeer,
isDeleted,
pcSupport,
rejectedSetBCOnce,
vcSupport,
WebFlowContextPeer |
Constructor Summary | |
WebFlowContextOps(org.omg.CORBA.Object peer,
WebFlow.configReader configSettings,
org.omg.CORBA.ORB orb,
java.lang.String ContextName)
The constructor for implementation of WebFlowContext interface. |
|
WebFlowContextOps(org.omg.CORBA.Object peer,
WebFlow.configReader configSettings,
org.omg.CORBA.ORB orb,
java.lang.String ContextName,
WebFlow.moduleFactory factory)
The constructor for implementation of WebFlowContext interface. |
Method Summary | |
void |
addContext(org.omg.CORBA.Object context,
java.lang.String objectId)
It is used internally to add new context |
void |
addModule(org.omg.CORBA.Object module,
java.lang.String objectId)
It is used internally to add new module |
org.omg.CORBA.Object |
addNewContext(java.lang.String newContextName)
instantiate new context with name "newContextName" and inserts it into its children list |
org.omg.CORBA.Object |
addNewModule(java.lang.String productName)
instantiate new module with name "productName" and inserts it into its children list |
void |
addWFServer(java.lang.String name,
org.omg.CORBA.Object server)
This method is called by slave server to insert itself to my children |
void |
attachEvent(org.omg.CORBA.Object source,
java.lang.String eventID,
org.omg.CORBA.Object target,
java.lang.String targetMethod,
int flowModel)
This method is used internally to make various types of connections between user modules |
void |
attachPullEvent(org.omg.CORBA.Object source,
java.lang.String eventID,
org.omg.CORBA.Object target)
Pull type of event is used to take event data from source when target need This is demand-driven association as opposed to event-driven in "push" type of events. |
void |
attachPullProperty(org.omg.CORBA.Object source,
java.lang.String propertyName,
org.omg.CORBA.Object target)
Pull type of event is used to take event data from source when target need This is demand-driven association as opposed to event-driven in "push" type of events. |
void |
attachPullVetoableProperty(org.omg.CORBA.Object source,
java.lang.String propertyName,
org.omg.CORBA.Object target)
Pull type of event is used to take event data from source when target need This is demand-driven association as opposed to event-driven in "push" type of events. |
void |
attachPushEvent(org.omg.CORBA.Object source,
java.lang.String eventID,
org.omg.CORBA.Object target,
java.lang.String targetMethod)
Register target object as a listener for an Generic user-defined event notification from source object .The identifier ID of event is eventID. |
void |
attachPushProperty(org.omg.CORBA.Object source,
java.lang.String propertyName,
org.omg.CORBA.Object target,
java.lang.String targetMethod)
Attach an property change notification with propertyName,"propertyName" from source object to target object. |
void |
attachPushVetoableProperty(org.omg.CORBA.Object source,
java.lang.String propertyName,
org.omg.CORBA.Object target,
java.lang.String targetMethod)
Attach an Vetoable property change notification with propertyName,"propertyName" from source object to target object. |
void |
bc_propertyChange(WebFlow.event.PropertyChangeEvent pce,
java.lang.String sourceObjectID)
This method is used internally to process property change event |
void |
bc_vetoableChange(WebFlow.event.PropertyChangeEvent pce,
java.lang.String propertyName,
java.lang.String sourceObjectID)
This method is used internally to process vetoable property change event |
void |
cleanUp()
This is used internally to disconnect myself from ORB. |
void |
copyConnectionFromTarget(org.omg.CORBA.Object sourceModule,
org.omg.CORBA.Object there)
this method is used internally |
void |
copyModuleBinding(org.omg.CORBA.Object sourceModule,
org.omg.CORBA.Object there)
This method provides user with copying the in/out bindings of module "sourceModule" into module "there". |
java.lang.String |
createObjectID(java.lang.String productName)
creates an object ID for new instantiated child with name "prodoctName" This method is called internally. |
void |
deactivate()
This method is called internally by the system when user wants to clean up the object of this implemenation. |
void |
destroy()
This method is used internally for disconnecting the context object from ORB |
void |
detachEvent(org.omg.CORBA.Object source,
java.lang.String eventID,
org.omg.CORBA.Object target,
java.lang.String targetMethod,
int flowModel)
This method is used internally to remove various types of connections made before between user modules |
void |
detachPullEvent(org.omg.CORBA.Object source,
java.lang.String eventID,
org.omg.CORBA.Object target)
Remove associated user-defined generic event binding by attachPullEvent method before |
void |
detachPullProperty(org.omg.CORBA.Object source,
java.lang.String propertyName,
org.omg.CORBA.Object target)
Remove associated property event binding by attachPullProperty method before |
void |
detachPullVetoableProperty(org.omg.CORBA.Object source,
java.lang.String propertyName,
org.omg.CORBA.Object target)
Remove associated vetoable property change event binding by attachPullVetoableProperty method before |
void |
detachPushEvent(org.omg.CORBA.Object source,
java.lang.String eventID,
org.omg.CORBA.Object target,
java.lang.String targetMethod)
Unregister an generic event association from source to target object made by attachPushEvent method call before. |
void |
detachPushProperty(org.omg.CORBA.Object source,
java.lang.String propertyName,
org.omg.CORBA.Object target,
java.lang.String targetMethod)
Remove established property change event binding by attachPushProperty method before from source object to target object. |
void |
detachPushVetoableProperty(org.omg.CORBA.Object source,
java.lang.String propertyName,
org.omg.CORBA.Object target,
java.lang.String targetMethod)
Remove established vetoable property change event binding by attachPushVetoableProperty before from source object to target object. |
java.lang.String |
extractObjectID(org.omg.CORBA.ServerRequest request)
Extracting object identifier(object ID) from the actual initiator of this request "request". |
void |
forwardEvent(org.omg.CORBA.ServerRequest request)
Forward the received event object to target. |
java.util.Vector |
getAllBindings(org.omg.CORBA.Object target,
java.util.Hashtable bindingTable)
this method is used internally |
java.lang.String[] |
getAllWFServers()
This method returns the available slave servers currently available. |
java.util.Vector |
getBindings(java.lang.String targetObjectID,
java.util.Hashtable bindingTable)
this method is used internally |
org.omg.CORBA.Object |
getContext(java.lang.String bindingName)
Find the context for specified name and return reference to it It looks for the contexts under this context,including this |
org.omg.CORBA.Object |
getContextExtended(java.lang.String bindingName,
boolean parent)
|
org.omg.CORBA.Object |
getEventObject(org.omg.CORBA.ServerRequest request)
Get Event Object coming with the request "request" to this Context Server This is used internally |
org.omg.CORBA.Object |
getGatewayProxy()
This is used internally |
org.omg.CORBA.Object |
getKeyedChild(java.lang.String childID)
this method is used internally |
WebFlow.moduleFactory |
getMFImpl()
|
java.lang.String[] |
getModuleList()
|
int |
getMyColor()
|
org.omg.CORBA.Object |
getParentContext(java.lang.String bindingName)
|
org.omg.CORBA.Object[] |
getSameKeyedChildren(java.lang.String childID)
this method is used internally |
org.omg.CORBA.Object |
getSource(org.omg.CORBA.Object src)
|
java.util.Hashtable |
getTargetsByProperty()
this method is used internally |
WebFlow.WebFlowContext |
getWebFlowContext(org.omg.CORBA.Object product)
|
org.omg.CORBA.Object |
getWFServer(java.lang.String serverName,
java.lang.String userName)
This is deprecated method. |
org.omg.CORBA.Object |
insertProxy(java.lang.String serverName)
It is used internally |
void |
insertRemoteServer(java.lang.String serverName,
java.lang.String objectID,
org.omg.CORBA.Object serverContext)
It is called internally. |
void |
invokeEventListener(org.omg.CORBA.Object source,
java.lang.String getter)
|
org.omg.CORBA.Any |
invokeGetterMethod(org.omg.CORBA.Object source,
java.lang.String getter)
|
void |
invokePropertyListener(org.omg.CORBA.Object source,
java.lang.String propertyAdder)
|
void |
invokeSetterMethod(org.omg.CORBA.Object target,
java.lang.String setter,
org.omg.CORBA.Any newValue)
Create a property hookup, so that a change to the named bound property on the source object turns into a call on the "setter" method of the given target object. |
void |
invokeSetterMethod(org.omg.CORBA.Object target,
java.lang.String setter,
org.omg.CORBA.Object evt)
|
boolean |
isAllChildrenDeleted()
checks whether all of my children is deleted or not. |
boolean |
myPrefixEqual(java.lang.String otherID)
|
void |
propertyChange(WebFlow.event.PropertyChangeEvent evt)
This method is called whenever any of children fired the property Change Event. |
void |
propertyChangeAfterVeto(WebFlow.event.PropertyChangeEvent evt,
java.lang.String sourceObjectID,
java.lang.String eventID)
this method is used internally |
org.omg.CORBA.Object[] |
pullEvents()
pull all events which came to the caller of this method and collect them and return in Object array. |
void |
putEvent(org.omg.CORBA.Object evt,
WebFlow.HookupTarget sourceHook)
|
org.omg.CORBA.Object |
readIOR(org.omg.CORBA.ORB orb,
java.lang.String fn)
this method is used internally |
void |
removeConnectionFromTarget(org.omg.CORBA.Object targetModule)
This method is called internally |
void |
removeContext(org.omg.CORBA.Object node)
Remove context instantiation from its parent including connections which comes from/into this context established before. |
void |
removeLocalChildren()
Remove only the nested children recursively along with the connections of them.Keep myself.if any of nested child is server, shut down it also. |
void |
removeModule(org.omg.CORBA.Object sourceModule)
Remove module instantiation from its parent including connections which comes from/into this module established before. |
void |
removeModuleProxy(org.omg.CORBA.Object sourceModule,
boolean IsProxyRemoved)
This method is used internally to remove module |
void |
removeMyself()
Remove all of my children nested recursively first and remove itself from its parent context if any.During removing each child, also we remove the connections made from/to this child. |
void |
removeWFServer(java.lang.String name)
This method is called by slave server to remove itself from my children |
java.lang.String |
saveConnectionTable(java.lang.String sourceModuleObjectID)
|
void |
saveConnectionTableInDataBase(java.lang.String sourceModuleObjectID)
|
void |
saveObjectInDataBase()
|
void |
saveObjectInDataBase(org.omg.CORBA.Object childNode,
java.lang.String childID)
|
void |
saveStateInDataBase()
save the state of my children, including contexts,user modules and their attributes and return the result as a string |
java.lang.String |
saveStateInXml(java.lang.String saveCase)
save the state of my children, including contexts,user modules and their attributes and return the result as a string |
void |
setChildDeleted(java.lang.String childID)
marks the child with ID "childID" as deleted. |
void |
setClorAndMFI(int myColor,
WebFlow.moduleFactory MFImpl)
|
void |
setInterfaceDesc(org.omg.CORBA.Object product_,
org.omg.CORBA.InterfaceDef nextDef)
this method is used internally |
void |
setServerRequest(org.omg.CORBA.ServerRequest request)
|
void |
start(org.omg.CORBA.Object factoryObj)
|
void |
vetoablePropertyChange(WebFlow.event.PropertyChangeEvent evt)
This method is called whenever any of children fired the Vetoable property Change Event. |
void |
waitUntilSlaveReady(org.omg.CORBA.Object obj)
|
Methods inherited from class WebFlow.BeanContextSupport |
_equals,
_hashCode,
add,
addAll,
addBeanContextMembershipListener,
addNamedChild,
bcsChildren,
childJustAddedHook,
childJustRemovedHook,
classEquals,
clear,
contains,
contains,
containsAll,
createBCSChild,
createBCSChild,
fireChildrenAdded,
fireChildrenRemoved,
getBeanContextPeer,
getChildBeanContextChild,
getChildBeanContextChild,
getChildBeanContextMembershipListener,
getChildPropertyChangeListener,
getChildSerializable,
getChildVetoableChangeListener,
getResource,
getResourceAsStream,
initialize,
instantiateChild,
isEmpty,
isSerializing,
iterator,
remove,
remove,
remove,
remove,
removeAll,
removeBeanContextMembershipListener,
retainAll,
size,
toArray,
toArrayInList,
validatePendingAdd,
validatePendingRemove |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public WebFlowContextOps(org.omg.CORBA.Object peer, WebFlow.configReader configSettings, org.omg.CORBA.ORB orb, java.lang.String ContextName) throws WebFlow.NullPointerException
peer
- org.omg.CORBA.Object server object using
this implementation for processing user requestspublic WebFlowContextOps(org.omg.CORBA.Object peer, WebFlow.configReader configSettings, org.omg.CORBA.ORB orb, java.lang.String ContextName, WebFlow.moduleFactory factory) throws WebFlow.NullPointerException
peer
- org.omg.CORBA.Object server object using
this implementation for processing user requestsMethod Detail |
public void saveObjectInDataBase()
public void saveObjectInDataBase(org.omg.CORBA.Object childNode, java.lang.String childID)
public void saveStateInDataBase()
public java.lang.String saveStateInXml(java.lang.String saveCase)
public java.lang.String saveConnectionTable(java.lang.String sourceModuleObjectID)
public void saveConnectionTableInDataBase(java.lang.String sourceModuleObjectID)
public void deactivate()
public void destroy()
public org.omg.CORBA.Object getContext(java.lang.String bindingName)
public org.omg.CORBA.Object getParentContext(java.lang.String bindingName)
public org.omg.CORBA.Object getContextExtended(java.lang.String bindingName, boolean parent)
public void setServerRequest(org.omg.CORBA.ServerRequest request)
public java.lang.String extractObjectID(org.omg.CORBA.ServerRequest request)
public int getMyColor()
public org.omg.CORBA.Object getSource(org.omg.CORBA.Object src)
public void invokeSetterMethod(org.omg.CORBA.Object target, java.lang.String setter, org.omg.CORBA.Object evt)
public void invokeSetterMethod(org.omg.CORBA.Object target, java.lang.String setter, org.omg.CORBA.Any newValue) throws WebFlow.event.PropertyVetoException
public org.omg.CORBA.Any invokeGetterMethod(org.omg.CORBA.Object source, java.lang.String getter)
public void invokeEventListener(org.omg.CORBA.Object source, java.lang.String getter)
public void invokePropertyListener(org.omg.CORBA.Object source, java.lang.String propertyAdder)
public org.omg.CORBA.Object getEventObject(org.omg.CORBA.ServerRequest request)
public void forwardEvent(org.omg.CORBA.ServerRequest request)
public org.omg.CORBA.Object[] pullEvents()
public void putEvent(org.omg.CORBA.Object evt, WebFlow.HookupTarget sourceHook)
public void attachPushProperty(org.omg.CORBA.Object source, java.lang.String propertyName, org.omg.CORBA.Object target, java.lang.String targetMethod)
public void detachPushProperty(org.omg.CORBA.Object source, java.lang.String propertyName, org.omg.CORBA.Object target, java.lang.String targetMethod)
public void attachPushVetoableProperty(org.omg.CORBA.Object source, java.lang.String propertyName, org.omg.CORBA.Object target, java.lang.String targetMethod)
public void detachPushVetoableProperty(org.omg.CORBA.Object source, java.lang.String propertyName, org.omg.CORBA.Object target, java.lang.String targetMethod)
public void attachPushEvent(org.omg.CORBA.Object source, java.lang.String eventID, org.omg.CORBA.Object target, java.lang.String targetMethod)
public void detachPushEvent(org.omg.CORBA.Object source, java.lang.String eventID, org.omg.CORBA.Object target, java.lang.String targetMethod)
public void attachPullProperty(org.omg.CORBA.Object source, java.lang.String propertyName, org.omg.CORBA.Object target)
public void detachPullProperty(org.omg.CORBA.Object source, java.lang.String propertyName, org.omg.CORBA.Object target)
public void attachPullVetoableProperty(org.omg.CORBA.Object source, java.lang.String propertyName, org.omg.CORBA.Object target)
public void detachPullVetoableProperty(org.omg.CORBA.Object source, java.lang.String propertyName, org.omg.CORBA.Object target)
public void attachPullEvent(org.omg.CORBA.Object source, java.lang.String eventID, org.omg.CORBA.Object target)
public void detachPullEvent(org.omg.CORBA.Object source, java.lang.String eventID, org.omg.CORBA.Object target)
public void attachEvent(org.omg.CORBA.Object source, java.lang.String eventID, org.omg.CORBA.Object target, java.lang.String targetMethod, int flowModel)
public void removeMyself()
public void detachEvent(org.omg.CORBA.Object source, java.lang.String eventID, org.omg.CORBA.Object target, java.lang.String targetMethod, int flowModel)
public void removeModule(org.omg.CORBA.Object sourceModule)
public void removeModuleProxy(org.omg.CORBA.Object sourceModule, boolean IsProxyRemoved)
public void removeConnectionFromTarget(org.omg.CORBA.Object targetModule)
public void removeLocalChildren()
public void removeContext(org.omg.CORBA.Object node)
public java.util.Vector getAllBindings(org.omg.CORBA.Object target, java.util.Hashtable bindingTable)
public java.util.Vector getBindings(java.lang.String targetObjectID, java.util.Hashtable bindingTable)
public void copyModuleBinding(org.omg.CORBA.Object sourceModule, org.omg.CORBA.Object there)
public void copyConnectionFromTarget(org.omg.CORBA.Object sourceModule, org.omg.CORBA.Object there)
public void setInterfaceDesc(org.omg.CORBA.Object product_, org.omg.CORBA.InterfaceDef nextDef)
public org.omg.CORBA.Object readIOR(org.omg.CORBA.ORB orb, java.lang.String fn)
public java.util.Hashtable getTargetsByProperty()
public org.omg.CORBA.Object getKeyedChild(java.lang.String childID)
public org.omg.CORBA.Object[] getSameKeyedChildren(java.lang.String childID)
public void setChildDeleted(java.lang.String childID)
public boolean isAllChildrenDeleted()
public java.lang.String createObjectID(java.lang.String productName)
public org.omg.CORBA.Object addNewModule(java.lang.String productName)
public org.omg.CORBA.Object addNewContext(java.lang.String newContextName) throws WebFlow.event.PropertyVetoException, WebFlow.NullPointerException
public void addModule(org.omg.CORBA.Object module, java.lang.String objectId)
public void addContext(org.omg.CORBA.Object context, java.lang.String objectId)
public void propertyChange(WebFlow.event.PropertyChangeEvent evt) throws WebFlow.event.PropertyVetoException
public void propertyChangeAfterVeto(WebFlow.event.PropertyChangeEvent evt, java.lang.String sourceObjectID, java.lang.String eventID) throws WebFlow.event.PropertyVetoException
public void vetoablePropertyChange(WebFlow.event.PropertyChangeEvent evt) throws WebFlow.event.PropertyVetoException
public void bc_vetoableChange(WebFlow.event.PropertyChangeEvent pce, java.lang.String propertyName, java.lang.String sourceObjectID) throws WebFlow.event.PropertyVetoException
public void bc_propertyChange(WebFlow.event.PropertyChangeEvent pce, java.lang.String sourceObjectID) throws WebFlow.IllegalArgumentException, WebFlow.IllegalStateException
public void addWFServer(java.lang.String name, org.omg.CORBA.Object server)
public void removeWFServer(java.lang.String name)
public java.lang.String[] getAllWFServers()
public org.omg.CORBA.Object getGatewayProxy()
public void cleanUp()
public org.omg.CORBA.Object getWFServer(java.lang.String serverName, java.lang.String userName)
public void insertRemoteServer(java.lang.String serverName, java.lang.String objectID, org.omg.CORBA.Object serverContext)
public boolean myPrefixEqual(java.lang.String otherID)
public void waitUntilSlaveReady(org.omg.CORBA.Object obj)
public org.omg.CORBA.Object insertProxy(java.lang.String serverName)
public WebFlow.WebFlowContext getWebFlowContext(org.omg.CORBA.Object product)
public java.lang.String[] getModuleList()
public WebFlow.moduleFactory getMFImpl()
public void start(org.omg.CORBA.Object factoryObj)
public void setClorAndMFI(int myColor, WebFlow.moduleFactory MFImpl)
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |