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:
- BpelManagementFacade, InstanceManagement, ProcessManagement
public class BpelManagementFacadeImpl
- extends ProcessAndInstanceManagementImpl
- implements 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).
|
Method Summary |
ActivityBreakpoint |
addActivityBreakpoint(java.lang.Long iid,
java.lang.String activity)
|
ActivityBreakpoint |
addGlobalActivityBreakpoint(java.lang.String procid,
java.lang.String activity)
|
VariableModificationBreakpoint |
addVariableModificationBreakpoint(java.lang.Long iid,
java.lang.String scopename,
java.lang.String variable)
|
Breakpoint[] |
getBreakpoints(java.lang.Long iid)
|
javax.xml.namespace.QName |
getCompletedFault(java.lang.Long iid)
|
CorrelationKey |
getCorrelation(java.lang.Long iid,
java.lang.Long scopeId,
java.lang.String correlationSet)
|
int |
getEventCount(java.lang.Long iid)
|
EventInfoListDocument |
getEvents(java.lang.Long iid,
int startIdx,
int count)
|
Breakpoint[] |
getGlobalBreakpoints(java.lang.String procId)
|
OProcess |
getProcessDef(java.lang.String procid)
|
java.lang.Long |
getProcessInstance(java.lang.String pid,
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,
Breakpoint sp)
|
void |
removeGlobalBreakpoint(java.lang.String procid,
Breakpoint sp)
|
void |
setCorrelation(java.lang.Long iid,
java.lang.Long scopeId,
java.lang.String correlationSet,
javax.xml.namespace.QName[] propertyNames,
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, listProcessesSummaryAndProperties, listProcessesSummaryOnly, queryInstances, recoverActivity, replay, resume, setPackageRetired, setProcessProperty, setProcessPropertyNode, setRetired, setVariable, 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, listProcessesSummaryAndProperties, 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(BpelServer server,
ProcessStore store)
getState
public short getState(java.lang.Long iid)
throws ManagementException
- Specified by:
getState in interface BpelManagementFacade
- Throws:
ManagementException
getProcessInstance
public java.lang.Long getProcessInstance(java.lang.String pid,
CorrelationKey ckey)
throws ManagementException
- Specified by:
getProcessInstance in interface BpelManagementFacade
- Throws:
ManagementException
getEvents
public EventInfoListDocument getEvents(java.lang.Long iid,
int startIdx,
int count)
throws ManagementException
- Specified by:
getEvents in interface BpelManagementFacade
- Throws:
ManagementException
getEventCount
public int getEventCount(java.lang.Long iid)
throws ManagementException
- Specified by:
getEventCount in interface BpelManagementFacade
- Throws:
ManagementException
getVariable
public java.lang.String getVariable(java.lang.Long iid,
java.lang.Long scopeId,
java.lang.String varName)
throws ManagementException
- Specified by:
getVariable in interface BpelManagementFacade
- Throws:
ManagementException
getScopeInstancesForScope
public java.lang.Long[] getScopeInstancesForScope(java.lang.Long iid,
java.lang.String scopeName)
throws ManagementException
- Specified by:
getScopeInstancesForScope in interface BpelManagementFacade
- Throws:
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 BpelManagementFacade
setCorrelation
public void setCorrelation(java.lang.Long iid,
java.lang.Long scopeId,
java.lang.String correlationSet,
javax.xml.namespace.QName[] propertyNames,
CorrelationKey values)
throws ManagementException
- Specified by:
setCorrelation in interface BpelManagementFacade
- Throws:
ManagementException
getCorrelation
public CorrelationKey getCorrelation(java.lang.Long iid,
java.lang.Long scopeId,
java.lang.String correlationSet)
throws ManagementException
- Specified by:
getCorrelation in interface BpelManagementFacade
- Throws:
ManagementException
getProcessDef
public OProcess getProcessDef(java.lang.String procid)
throws ManagementException
- Specified by:
getProcessDef in interface BpelManagementFacade
- Parameters:
procid -
- Throws:
ManagementException- See Also:
BpelManagementFacade.getProcessDef(String)
step
public void step(java.lang.Long iid)
throws ManagementException
- Specified by:
step in interface BpelManagementFacade
- Throws:
ManagementException
getCompletedFault
public javax.xml.namespace.QName getCompletedFault(java.lang.Long iid)
throws ManagementException
- Specified by:
getCompletedFault in interface BpelManagementFacade
- Throws:
ManagementException
getGlobalBreakpoints
public Breakpoint[] getGlobalBreakpoints(java.lang.String procId)
throws ManagementException
- Specified by:
getGlobalBreakpoints in interface BpelManagementFacade
- Throws:
ManagementException
getBreakpoints
public Breakpoint[] getBreakpoints(java.lang.Long iid)
throws ManagementException
- Specified by:
getBreakpoints in interface BpelManagementFacade
- Throws:
ManagementException
removeGlobalBreakpoint
public void removeGlobalBreakpoint(java.lang.String procid,
Breakpoint sp)
throws ManagementException
- Specified by:
removeGlobalBreakpoint in interface BpelManagementFacade
- Throws:
ManagementException
removeBreakpoint
public void removeBreakpoint(java.lang.Long iid,
Breakpoint sp)
throws ManagementException
- Specified by:
removeBreakpoint in interface BpelManagementFacade
- Throws:
ManagementException
addGlobalActivityBreakpoint
public ActivityBreakpoint addGlobalActivityBreakpoint(java.lang.String procid,
java.lang.String activity)
throws ManagementException
- Specified by:
addGlobalActivityBreakpoint in interface BpelManagementFacade
- Throws:
ManagementException
addActivityBreakpoint
public ActivityBreakpoint addActivityBreakpoint(java.lang.Long iid,
java.lang.String activity)
throws ManagementException
- Specified by:
addActivityBreakpoint in interface BpelManagementFacade
- Throws:
ManagementException
addVariableModificationBreakpoint
public VariableModificationBreakpoint addVariableModificationBreakpoint(java.lang.Long iid,
java.lang.String scopename,
java.lang.String variable)
- Specified by:
addVariableModificationBreakpoint in interface BpelManagementFacade
getStartTime
public java.util.Date getStartTime(java.lang.Long iid)
throws ManagementException
- Specified by:
getStartTime in interface BpelManagementFacade
- Throws:
ManagementException
Copyright © 2015 WSO2. All Rights Reserved.