org.demac.process.base.extension
Class ExtendedExecutionService
java.lang.Object
org.demac.process.base.extension.ExtensionModule
org.demac.process.base.extension.ExtendedExecutionService
- All Implemented Interfaces:
- Service
public abstract class ExtendedExecutionService
- extends ExtensionModule
Extension of the org.demac.process.base.exe.BaseExecutionService,
executing more complex control flows.
It handles the execution of org.demac.process.base.dpdl.TransitionRestrictions
such as org.demac.process.base.dpdl.Splits and org.demac.process.base.dpdl.Joins
and the execution of parallel threads. It is implemented as a singleton.
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
transitionRestrictionType
public static final java.lang.String transitionRestrictionType
- See Also:
- Constant Field Values
subflowType
public static final java.lang.String subflowType
- See Also:
- Constant Field Values
manualType
public static final java.lang.String manualType
- See Also:
- Constant Field Values
ExtendedExecutionService
public ExtendedExecutionService()
getInstance
public static ExtensionModule getInstance()
- Returns:
- the instance of the org.demac.process.base.extension.ExtendedExecutionService
getId
public java.lang.String getId()
- Specified by:
getId
in class ExtensionModule
- Returns:
- the identifier of the org.demac.process.base.extension.ExtensionModule.
- See Also:
ExtensionModule.getId()
execute
public abstract boolean execute(DataSet ds,
java.lang.String type)
throws java.lang.Exception
- Method to execute a Process which needs special control flow support
- Specified by:
execute
in class ExtensionModule
- Parameters:
type
- a possible description to specify the handling of the object to execute (if there is more than one possibility to execute it).ds
- the dataset containing process to be executed.
- Returns:
- true if the special control flow was performed successfully.
- Throws:
java.lang.Exception