org.smartcomps.twister.deployer.priv
Class ActivityDeployer
java.lang.Object
|
+--org.smartcomps.twister.deployer.priv.ActivityDeployer
Direct Known Subclasses: AssignDeployer , EmptyDeployer , FlowDeployer , InvokeDeployer , PickDeployer , ReceiveDeployer , ReplyDeployer , ScopeDeployer , SequenceDeployer , SwitchDeployer , TerminateDeployer , WaitDeployer , WhileDeployer
public abstract class ActivityDeployer extends java.lang.Object
parent class of specific activity deployer
Field Summary
protected org.smartcomps.twister.common.util.logger.Logger
log
protected boolean
processChildren
Method Summary
protected org.smartcomps.twister.engine.priv.core.definition.Activity
createActivity (org.dom4j.Element element,
org.smartcomps.twister.engine.priv.core.definition.StructuredActivity parentActivity)
protected org.smartcomps.twister.engine.priv.core.definition.Activity
createActivity (org.dom4j.Element element,
org.smartcomps.twister.engine.priv.core.definition.TwisterProcess twisterProcess)
org.smartcomps.twister.engine.priv.core.definition.Activity
deploy (org.dom4j.Element element,
org.smartcomps.twister.engine.priv.core.definition.StructuredActivity parentActivity)
org.smartcomps.twister.engine.priv.core.definition.Activity
deploy (org.dom4j.Element element,
org.smartcomps.twister.engine.priv.core.definition.TwisterProcess twisterProcess)
protected abstract java.lang.Class
getActivityClass ()
static org.dom4j.Element
getActivityElement (org.dom4j.Element pe)
The token "activity" can be any of the following:
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
protected int
getCorrelationPattern (java.lang.String patternAsString)
protected abstract void
processSpecificAttributes (org.dom4j.Element element,
org.smartcomps.twister.engine.priv.core.definition.Activity activity)
protected abstract void
processSpecificElements (org.dom4j.Element element,
org.smartcomps.twister.engine.priv.core.definition.Activity activity)
protected void
processStandardAttributes (org.dom4j.Element element,
org.smartcomps.twister.engine.priv.core.definition.Activity activity)
Standard Attributes for Each Activity
name="ncname"?
protected void
processStandardElements (org.dom4j.Element element,
org.smartcomps.twister.engine.priv.core.definition.Activity activity)
Standard Elements for Each Activity
protected java.lang.String
truncNamespace (java.lang.String string)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
log
protected org.smartcomps.twister.common.util.logger.Logger log
processChildren
protected boolean processChildren
ActivityDeployer
protected ActivityDeployer ()
getActivityElement
public static org.dom4j.Element getActivityElement (org.dom4j.Element pe)
The token "activity" can be any of the following:
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
Parameters: pe
-
Returns:
deploy
public final org.smartcomps.twister.engine.priv.core.definition.Activity deploy (org.dom4j.Element element,
org.smartcomps.twister.engine.priv.core.definition.TwisterProcess twisterProcess)
throws DeploymentException
Parameters: element
- twisterProcess
-
Returns:
Throws:
DeploymentException
deploy
public final org.smartcomps.twister.engine.priv.core.definition.Activity deploy (org.dom4j.Element element,
org.smartcomps.twister.engine.priv.core.definition.StructuredActivity parentActivity)
throws DeploymentException
Parameters: element
- parentActivity
-
Returns:
Throws:
DeploymentException
processStandardAttributes
protected final void processStandardAttributes (org.dom4j.Element element,
org.smartcomps.twister.engine.priv.core.definition.Activity activity)
Standard Attributes for Each Activity
name="ncname"?
joinCondition="bool-expr"?
suppressJoinFailure="yes|no"?>
Parameters: element
- activity
-
processStandardElements
protected final void processStandardElements (org.dom4j.Element element,
org.smartcomps.twister.engine.priv.core.definition.Activity activity)
Standard Elements for Each Activity
*
*
Parameters: element
- activity
-
getCorrelationPattern
protected int getCorrelationPattern (java.lang.String patternAsString)
createActivity
protected final org.smartcomps.twister.engine.priv.core.definition.Activity createActivity (org.dom4j.Element element,
org.smartcomps.twister.engine.priv.core.definition.TwisterProcess twisterProcess)
throws DeploymentException
Parameters: element
- twisterProcess
-
Returns:
Throws:
DeploymentException
createActivity
protected final org.smartcomps.twister.engine.priv.core.definition.Activity createActivity (org.dom4j.Element element,
org.smartcomps.twister.engine.priv.core.definition.StructuredActivity parentActivity)
throws DeploymentException
Parameters: element
- parentActivity
-
Returns:
Throws:
DeploymentException
processSpecificElements
protected abstract void processSpecificElements (org.dom4j.Element element,
org.smartcomps.twister.engine.priv.core.definition.Activity activity)
throws DeploymentException
DeploymentException
processSpecificAttributes
protected abstract void processSpecificAttributes (org.dom4j.Element element,
org.smartcomps.twister.engine.priv.core.definition.Activity activity)
throws DeploymentException
DeploymentException
getActivityClass
protected abstract java.lang.Class getActivityClass ()
truncNamespace
protected java.lang.String truncNamespace (java.lang.String string)
Copyright © 2003 SmartComps. All Rights Reserved.