|
SMILA 1.0 API documentation | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eclipse.smila.processing.bpel.internal.OdeBpelEngine
public class OdeBpelEngine
wrapper for ODEServer and DeploymentManager.
| Constructor Summary | |
|---|---|
OdeBpelEngine()
|
|
| Method Summary | |
|---|---|
protected void |
activate()
initialize engine. |
protected void |
deactivate()
shutdown engine. |
java.util.Collection<java.lang.String> |
deployPredefinedWorkflows(java.lang.String pipelineDirName)
prepare a deployment unit dirrectory from a configuration directory with predefined workflows and deploy it to the server. |
void |
deployWorkflow(java.lang.String workflowName,
AnyMap workflowDefinition)
deploy a single workflow to the server. |
javax.xml.namespace.QName |
deployWorkflowDir(java.lang.String workflowName,
java.io.File deploymentDirectory)
deploy a deployment unit dir with one workflow to the server. |
AnyMap |
getWorkflow(java.lang.String workflowName)
get current workflow definition from ODE server. |
org.w3c.dom.Element |
invoke(java.lang.String workflowName,
org.w3c.dom.Element message)
invoke a pipeline. |
boolean |
isCustomWorkflow(java.lang.String workflowName)
check if a workflow is custom defined. |
boolean |
isPredefinedWorkflow(java.lang.String workflowName)
check if a workflow is predefined. |
void |
undeployWorkflow(java.lang.String workflowName)
undeploy a workflow from the server. |
java.io.File |
validateWorkflow(java.lang.String workflowName,
AnyMap workflowDefinition)
create deployment unit for given workflow definition and validate it. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public OdeBpelEngine()
| Method Detail |
|---|
protected void activate()
protected void deactivate()
public org.w3c.dom.Element invoke(java.lang.String workflowName,
org.w3c.dom.Element message)
throws ODEServerException
BpelEngine
invoke in interface BpelEngineODEServerExceptionpublic boolean isPredefinedWorkflow(java.lang.String workflowName)
BpelEngine
isPredefinedWorkflow in interface BpelEnginepublic boolean isCustomWorkflow(java.lang.String workflowName)
BpelEngine
isCustomWorkflow in interface BpelEngine
public AnyMap getWorkflow(java.lang.String workflowName)
throws java.io.IOException
BpelEngine
getWorkflow in interface BpelEnginejava.io.IOException
public java.io.File validateWorkflow(java.lang.String workflowName,
AnyMap workflowDefinition)
throws ProcessingException
BpelEngine
validateWorkflow in interface BpelEngineProcessingException - validation error.
public javax.xml.namespace.QName deployWorkflowDir(java.lang.String workflowName,
java.io.File deploymentDirectory)
throws ProcessingException
BpelEngine
deployWorkflowDir in interface BpelEngineProcessingException
public void undeployWorkflow(java.lang.String workflowName)
throws ProcessingException
BpelEngine
undeployWorkflow in interface BpelEngineProcessingException
public void deployWorkflow(java.lang.String workflowName,
AnyMap workflowDefinition)
throws ProcessingException
BpelEngine
deployWorkflow in interface BpelEngineProcessingException
public java.util.Collection<java.lang.String> deployPredefinedWorkflows(java.lang.String pipelineDirName)
throws ProcessingException,
java.io.IOException
BpelEngine
deployPredefinedWorkflows in interface BpelEngineProcessingException
java.io.IOException
|
SMILA 1.0 API documentation | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||