org.apache.ode.bpel.engine
Class BpelManagementFacadeImpl
java.lang.Object
org.apache.ode.bpel.engine.ProcessAndInstanceManagementImpl
org.apache.ode.bpel.engine.BpelManagementFacadeImpl
- All Implemented Interfaces:
- org.apache.ode.bpel.pmapi.BpelManagementFacade, org.apache.ode.bpel.pmapi.InstanceManagement, org.apache.ode.bpel.pmapi.ProcessManagement
public class BpelManagementFacadeImpl
- extends ProcessAndInstanceManagementImpl
- implements org.apache.ode.bpel.pmapi.BpelManagementFacade
Implementation of the instance/process management interaction. This class implements
the methods necessary to support process debugging. It also implements all the methods in the
newer Process/Instance Management interface (pmapi).
|
Constructor Summary |
BpelManagementFacadeImpl(org.apache.ode.bpel.iapi.BpelServer server,
org.apache.ode.bpel.iapi.ProcessStore store)
|
|
Method Summary |
org.apache.ode.bpel.bdi.breaks.ActivityBreakpoint |
addActivityBreakpoint(java.lang.Long iid,
java.lang.String activity)
|
org.apache.ode.bpel.bdi.breaks.ActivityBreakpoint |
addGlobalActivityBreakpoint(java.lang.String procid,
java.lang.String activity)
|
org.apache.ode.bpel.bdi.breaks.VariableModificationBreakpoint |
addVariableModificationBreakpoint(java.lang.Long iid,
java.lang.String scopename,
java.lang.String variable)
|
org.apache.ode.bpel.bdi.breaks.Breakpoint[] |
getBreakpoints(java.lang.Long iid)
|
javax.xml.namespace.QName |
getCompletedFault(java.lang.Long iid)
|
org.apache.ode.bpel.common.CorrelationKey |
getCorrelation(java.lang.Long iid,
java.lang.Long scopeId,
java.lang.String correlationSet)
|
int |
getEventCount(java.lang.Long iid)
|
org.apache.ode.bpel.pmapi.EventInfoListDocument |
getEvents(java.lang.Long iid,
int startIdx,
int count)
|
org.apache.ode.bpel.bdi.breaks.Breakpoint[] |
getGlobalBreakpoints(java.lang.String procId)
|
org.apache.ode.bpel.o.OProcess |
getProcessDef(java.lang.String procid)
|
java.lang.Long |
getProcessInstance(java.lang.String pid,
org.apache.ode.bpel.common.CorrelationKey ckey)
|
java.lang.Long[] |
getScopeInstancesForScope(java.lang.Long iid,
java.lang.String scopeName)
|
java.util.Date |
getStartTime(java.lang.Long iid)
|
short |
getState(java.lang.Long iid)
|
java.lang.String |
getVariable(java.lang.Long iid,
java.lang.Long scopeId,
java.lang.String varName)
|
void |
removeBreakpoint(java.lang.Long iid,
org.apache.ode.bpel.bdi.breaks.Breakpoint sp)
|
void |
removeGlobalBreakpoint(java.lang.String procid,
org.apache.ode.bpel.bdi.breaks.Breakpoint sp)
|
void |
setCorrelation(java.lang.Long iid,
java.lang.Long scopeId,
java.lang.String correlationSet,
javax.xml.namespace.QName[] propertyNames,
org.apache.ode.bpel.common.CorrelationKey values)
|
void |
setVariable(java.lang.Long pid,
java.lang.Long scopeId,
java.lang.String varName,
java.lang.String data)
|
void |
step(java.lang.Long iid)
|
| Methods inherited from class org.apache.ode.bpel.engine.ProcessAndInstanceManagementImpl |
activate, dbexec, dbexec, delete, fault, getCommunication, getDebugger, getDebugger, getEventTimeline, getExtensibilityElements, getInstanceInfo, getProcessInfo, getProcessInfoCustom, getScopeInfo, getScopeInfoWithActivity, getVariableInfo, listAllInstances, listAllInstancesWithLimit, listAllProcesses, listEvents, listInstances, listInstancesSummary, listProcesses, listProcessesCustom, listProcessesSummaryOnly, queryInstances, recoverActivity, replay, resume, setPackageRetired, setProcessProperty, setProcessPropertyNode, setRetired, suspend, terminate |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.apache.ode.bpel.pmapi.ProcessManagement |
activate, getExtensibilityElements, getProcessInfo, getProcessInfoCustom, listAllProcesses, listProcesses, listProcessesCustom, listProcessesSummaryOnly, setPackageRetired, setProcessProperty, setProcessPropertyNode, setRetired |
| Methods inherited from interface org.apache.ode.bpel.pmapi.InstanceManagement |
delete, fault, getEventTimeline, getInstanceInfo, getScopeInfo, getScopeInfoWithActivity, getVariableInfo, listAllInstances, listAllInstancesWithLimit, listEvents, listInstances, listInstancesSummary, queryInstances, recoverActivity, resume, suspend, terminate |
BpelManagementFacadeImpl
public BpelManagementFacadeImpl(org.apache.ode.bpel.iapi.BpelServer server,
org.apache.ode.bpel.iapi.ProcessStore store)
getState
public short getState(java.lang.Long iid)
throws org.apache.ode.bpel.pmapi.ManagementException
- Specified by:
getState in interface org.apache.ode.bpel.pmapi.BpelManagementFacade
- Throws:
org.apache.ode.bpel.pmapi.ManagementException
getProcessInstance
public java.lang.Long getProcessInstance(java.lang.String pid,
org.apache.ode.bpel.common.CorrelationKey ckey)
throws org.apache.ode.bpel.pmapi.ManagementException
- Specified by:
getProcessInstance in interface org.apache.ode.bpel.pmapi.BpelManagementFacade
- Throws:
org.apache.ode.bpel.pmapi.ManagementException
getEvents
public org.apache.ode.bpel.pmapi.EventInfoListDocument getEvents(java.lang.Long iid,
int startIdx,
int count)
throws org.apache.ode.bpel.pmapi.ManagementException
- Specified by:
getEvents in interface org.apache.ode.bpel.pmapi.BpelManagementFacade
- Throws:
org.apache.ode.bpel.pmapi.ManagementException
getEventCount
public int getEventCount(java.lang.Long iid)
throws org.apache.ode.bpel.pmapi.ManagementException
- Specified by:
getEventCount in interface org.apache.ode.bpel.pmapi.BpelManagementFacade
- Throws:
org.apache.ode.bpel.pmapi.ManagementException
getVariable
public java.lang.String getVariable(java.lang.Long iid,
java.lang.Long scopeId,
java.lang.String varName)
throws org.apache.ode.bpel.pmapi.ManagementException
- Specified by:
getVariable in interface org.apache.ode.bpel.pmapi.BpelManagementFacade
- Throws:
org.apache.ode.bpel.pmapi.ManagementException
getScopeInstancesForScope
public java.lang.Long[] getScopeInstancesForScope(java.lang.Long iid,
java.lang.String scopeName)
throws org.apache.ode.bpel.pmapi.ManagementException
- Specified by:
getScopeInstancesForScope in interface org.apache.ode.bpel.pmapi.BpelManagementFacade
- Throws:
org.apache.ode.bpel.pmapi.ManagementException
setVariable
public void setVariable(java.lang.Long pid,
java.lang.Long scopeId,
java.lang.String varName,
java.lang.String data)
- Specified by:
setVariable in interface org.apache.ode.bpel.pmapi.BpelManagementFacade
setCorrelation
public void setCorrelation(java.lang.Long iid,
java.lang.Long scopeId,
java.lang.String correlationSet,
javax.xml.namespace.QName[] propertyNames,
org.apache.ode.bpel.common.CorrelationKey values)
throws org.apache.ode.bpel.pmapi.ManagementException
- Specified by:
setCorrelation in interface org.apache.ode.bpel.pmapi.BpelManagementFacade
- Throws:
org.apache.ode.bpel.pmapi.ManagementException
getCorrelation
public org.apache.ode.bpel.common.CorrelationKey getCorrelation(java.lang.Long iid,
java.lang.Long scopeId,
java.lang.String correlationSet)
throws org.apache.ode.bpel.pmapi.ManagementException
- Specified by:
getCorrelation in interface org.apache.ode.bpel.pmapi.BpelManagementFacade
- Throws:
org.apache.ode.bpel.pmapi.ManagementException
getProcessDef
public org.apache.ode.bpel.o.OProcess getProcessDef(java.lang.String procid)
throws org.apache.ode.bpel.pmapi.ManagementException
- Specified by:
getProcessDef in interface org.apache.ode.bpel.pmapi.BpelManagementFacade
- Parameters:
procid -
- Throws:
org.apache.ode.bpel.pmapi.ManagementException- See Also:
BpelManagementFacade.getProcessDef(String)
step
public void step(java.lang.Long iid)
throws org.apache.ode.bpel.pmapi.ManagementException
- Specified by:
step in interface org.apache.ode.bpel.pmapi.BpelManagementFacade
- Throws:
org.apache.ode.bpel.pmapi.ManagementException
getCompletedFault
public javax.xml.namespace.QName getCompletedFault(java.lang.Long iid)
throws org.apache.ode.bpel.pmapi.ManagementException
- Specified by:
getCompletedFault in interface org.apache.ode.bpel.pmapi.BpelManagementFacade
- Throws:
org.apache.ode.bpel.pmapi.ManagementException
getGlobalBreakpoints
public org.apache.ode.bpel.bdi.breaks.Breakpoint[] getGlobalBreakpoints(java.lang.String procId)
throws org.apache.ode.bpel.pmapi.ManagementException
- Specified by:
getGlobalBreakpoints in interface org.apache.ode.bpel.pmapi.BpelManagementFacade
- Throws:
org.apache.ode.bpel.pmapi.ManagementException
getBreakpoints
public org.apache.ode.bpel.bdi.breaks.Breakpoint[] getBreakpoints(java.lang.Long iid)
throws org.apache.ode.bpel.pmapi.ManagementException
- Specified by:
getBreakpoints in interface org.apache.ode.bpel.pmapi.BpelManagementFacade
- Throws:
org.apache.ode.bpel.pmapi.ManagementException
removeGlobalBreakpoint
public void removeGlobalBreakpoint(java.lang.String procid,
org.apache.ode.bpel.bdi.breaks.Breakpoint sp)
throws org.apache.ode.bpel.pmapi.ManagementException
- Specified by:
removeGlobalBreakpoint in interface org.apache.ode.bpel.pmapi.BpelManagementFacade
- Throws:
org.apache.ode.bpel.pmapi.ManagementException
removeBreakpoint
public void removeBreakpoint(java.lang.Long iid,
org.apache.ode.bpel.bdi.breaks.Breakpoint sp)
throws org.apache.ode.bpel.pmapi.ManagementException
- Specified by:
removeBreakpoint in interface org.apache.ode.bpel.pmapi.BpelManagementFacade
- Throws:
org.apache.ode.bpel.pmapi.ManagementException
addGlobalActivityBreakpoint
public org.apache.ode.bpel.bdi.breaks.ActivityBreakpoint addGlobalActivityBreakpoint(java.lang.String procid,
java.lang.String activity)
throws org.apache.ode.bpel.pmapi.ManagementException
- Specified by:
addGlobalActivityBreakpoint in interface org.apache.ode.bpel.pmapi.BpelManagementFacade
- Throws:
org.apache.ode.bpel.pmapi.ManagementException
addActivityBreakpoint
public org.apache.ode.bpel.bdi.breaks.ActivityBreakpoint addActivityBreakpoint(java.lang.Long iid,
java.lang.String activity)
throws org.apache.ode.bpel.pmapi.ManagementException
- Specified by:
addActivityBreakpoint in interface org.apache.ode.bpel.pmapi.BpelManagementFacade
- Throws:
org.apache.ode.bpel.pmapi.ManagementException
addVariableModificationBreakpoint
public org.apache.ode.bpel.bdi.breaks.VariableModificationBreakpoint addVariableModificationBreakpoint(java.lang.Long iid,
java.lang.String scopename,
java.lang.String variable)
- Specified by:
addVariableModificationBreakpoint in interface org.apache.ode.bpel.pmapi.BpelManagementFacade
getStartTime
public java.util.Date getStartTime(java.lang.Long iid)
throws org.apache.ode.bpel.pmapi.ManagementException
- Specified by:
getStartTime in interface org.apache.ode.bpel.pmapi.BpelManagementFacade
- Throws:
org.apache.ode.bpel.pmapi.ManagementException