gov.nih.nci.cagrid.workflow.service
Class ActiveBPELAdapter
java.lang.Object
gov.nih.nci.cagrid.workflow.service.ActiveBPELAdapter
- All Implemented Interfaces:
- WorkflowEngineAdapter
public class ActiveBPELAdapter
- extends java.lang.Object
- implements WorkflowEngineAdapter
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ActiveBPELAdapter
public ActiveBPELAdapter(java.lang.String abAdminUrl)
ActiveBPELAdapter
public ActiveBPELAdapter(java.lang.String abAdminUrl,
WorkflowOutputType output,
WorkflowStatusType workflowStatus)
deployBpr
public java.lang.String deployBpr(java.lang.String bpelFileName,
java.lang.String workflowName,
WSDLReferences[] wsdlRefArray)
throws java.lang.Exception
- Deploys the ActiveBPEL specific BPEL archive
- Parameters:
bpelFileName - workflowName - wsdlRefArray -
- Returns:
-
- Throws:
java.lang.Exception
deployWorkflow
public java.lang.String deployWorkflow(java.lang.String bpelFileName,
java.lang.String workflowName,
WSDLReferences[] wsdlRefArray)
throws WorkflowExceptionType
- Specified by:
deployWorkflow in interface WorkflowEngineAdapter
- Throws:
WorkflowExceptionType
startWorkflow
public WorkflowStatusType startWorkflow(StartInputType startInput)
throws WorkflowExceptionType
- Specified by:
startWorkflow in interface WorkflowEngineAdapter
- Throws:
WorkflowExceptionType
getWorkflowStatus
public WorkflowStatusType getWorkflowStatus()
throws WorkflowExceptionType
- Specified by:
getWorkflowStatus in interface WorkflowEngineAdapter
- Throws:
WorkflowExceptionType
suspend
public void suspend()
throws WorkflowExceptionType
- Specified by:
suspend in interface WorkflowEngineAdapter
- Throws:
WorkflowExceptionType
resume
public void resume()
throws WorkflowExceptionType
- Specified by:
resume in interface WorkflowEngineAdapter
- Throws:
WorkflowExceptionType
cancel
public void cancel()
throws WorkflowExceptionType
- Specified by:
cancel in interface WorkflowEngineAdapter
- Throws:
WorkflowExceptionType
getWorkflowStatusEventsArray
public WorkflowStatusEventType[] getWorkflowStatusEventsArray()
throws WorkflowExceptionType
- Throws:
WorkflowExceptionType
getStatusFromString
public static WorkflowStatusType getStatusFromString(int state)
getWorkflowOutput
public WorkflowOutputType getWorkflowOutput()
setWorkflowOutput
public void setWorkflowOutput(WorkflowOutputType workflowOutput)
setWorkflowStatus
public void setWorkflowStatus(WorkflowStatusType workflowStatus)
remove
public void remove()
throws java.rmi.RemoteException
- Throws:
java.rmi.RemoteException
readFromFile
public WorkflowStatusEventType[] readFromFile(java.lang.String fileName)
throws WorkflowExceptionType
- Throws:
WorkflowExceptionType
toString
public static void toString(java.util.HashMap map)