public class ProcessAndInstanceManagementImpl extends java.lang.Object implements InstanceManagement, ProcessManagement
| Modifier and Type | Field and Description |
|---|---|
protected static org.apache.commons.logging.Log |
__log |
protected static Messages |
__msgs |
protected static org.apache.ode.bpel.engine.ProcessStatusConverter |
__psc |
protected java.util.Calendar |
_calendar |
protected BpelDatabase |
_db |
protected BpelServerImpl |
_server |
protected ProcessStore |
_store |
| Constructor and Description |
|---|
ProcessAndInstanceManagementImpl(BpelServer server,
ProcessStore store) |
| Modifier and Type | Method and Description |
|---|---|
ProcessInfoDocument |
activate(javax.xml.namespace.QName pid) |
protected <T> T |
dbexec(BpelDatabase.Callable<T> callable)
Execute a database transaction, unwrapping nested
ManagementExceptions. |
protected <T> T |
dbexec(org.apache.ode.bpel.engine.BpelProcessDatabase.Callable<T> runnable)
Execute a database transaction, unwrapping nested
ManagementExceptions. |
java.util.Collection<java.lang.Long> |
delete(java.lang.String filter) |
InstanceInfoDocument |
fault(java.lang.Long iid,
javax.xml.namespace.QName faultname,
org.w3c.dom.Element faultData) |
GetCommunicationResponseDocument |
getCommunication(GetCommunication request) |
protected DebuggerSupport |
getDebugger(java.lang.Long iid)
Get the
DebuggerSupport object for the given instance identifier. |
protected DebuggerSupport |
getDebugger(javax.xml.namespace.QName procid)
Get the
DebuggerSupport object for the given process identifier. |
java.util.List<java.lang.String> |
getEventTimeline(java.lang.String instanceFilter,
java.lang.String eventFilter) |
ActivityExtInfoListDocument |
getExtensibilityElements(javax.xml.namespace.QName pid,
java.lang.Integer[] aids) |
InstanceInfoDocument |
getInstanceInfo(java.lang.Long iid) |
ProcessInfoDocument |
getProcessInfo(javax.xml.namespace.QName pid) |
ProcessInfoDocument |
getProcessInfoCustom(javax.xml.namespace.QName pid,
ProcessInfoCustomizer custom) |
ScopeInfoDocument |
getScopeInfo(java.lang.String siid) |
ScopeInfoDocument |
getScopeInfoWithActivity(java.lang.String siid,
boolean includeActivityInfo) |
VariableInfoDocument |
getVariableInfo(java.lang.String scopeId,
java.lang.String varName) |
InstanceInfoListDocument |
listAllInstances() |
InstanceInfoListDocument |
listAllInstancesWithLimit(int limit) |
ProcessInfoListDocument |
listAllProcesses() |
EventInfoListDocument |
listEvents(java.lang.String instanceFilter,
java.lang.String eventFilter,
int maxCount) |
InstanceInfoListDocument |
listInstances(java.lang.String filter,
java.lang.String order,
int limit) |
InstanceInfoListDocument |
listInstancesSummary(java.lang.String filter,
java.lang.String order,
int limit) |
ProcessInfoListDocument |
listProcesses(java.lang.String filter,
java.lang.String orderKeys) |
ProcessInfoListDocument |
listProcessesCustom(java.lang.String filter,
java.lang.String orderKeys,
ProcessInfoCustomizer custom) |
ProcessInfoListDocument |
listProcessesSummaryAndProperties() |
ProcessInfoListDocument |
listProcessesSummaryOnly() |
InstanceInfoListDocument |
queryInstances(java.lang.String query) |
InstanceInfoDocument |
recoverActivity(java.lang.Long iid,
java.lang.Long aid,
java.lang.String action) |
ReplayResponseDocument |
replay(Replay request) |
InstanceInfoDocument |
resume(java.lang.Long iid) |
void |
setPackageRetired(java.lang.String packageName,
boolean retired) |
ProcessInfoDocument |
setProcessProperty(javax.xml.namespace.QName pid,
javax.xml.namespace.QName propertyName,
java.lang.String value) |
ProcessInfoDocument |
setProcessPropertyNode(javax.xml.namespace.QName pid,
javax.xml.namespace.QName propertyName,
org.w3c.dom.Node value) |
ProcessInfoDocument |
setRetired(javax.xml.namespace.QName pid,
boolean retired) |
VariableInfoDocument |
setVariable(java.lang.String scopeId,
java.lang.String varName,
org.apache.xmlbeans.XmlObject value) |
InstanceInfoDocument |
suspend(java.lang.Long iid) |
InstanceInfoDocument |
terminate(java.lang.Long iid) |
protected static final Messages __msgs
protected static org.apache.commons.logging.Log __log
protected static final org.apache.ode.bpel.engine.ProcessStatusConverter __psc
protected BpelDatabase _db
protected ProcessStore _store
protected java.util.Calendar _calendar
protected BpelServerImpl _server
public ProcessAndInstanceManagementImpl(BpelServer server, ProcessStore store)
public ProcessInfoListDocument listProcessesCustom(java.lang.String filter, java.lang.String orderKeys, ProcessInfoCustomizer custom)
listProcessesCustom in interface ProcessManagementpublic ProcessInfoListDocument listProcesses(java.lang.String filter, java.lang.String orderKeys)
listProcesses in interface ProcessManagementpublic ProcessInfoListDocument listAllProcesses()
listAllProcesses in interface ProcessManagementpublic ProcessInfoListDocument listProcessesSummaryOnly()
listProcessesSummaryOnly in interface ProcessManagementpublic ProcessInfoListDocument listProcessesSummaryAndProperties()
listProcessesSummaryAndProperties in interface ProcessManagementpublic ProcessInfoDocument getProcessInfoCustom(javax.xml.namespace.QName pid, ProcessInfoCustomizer custom)
getProcessInfoCustom in interface ProcessManagementpublic ProcessInfoDocument getProcessInfo(javax.xml.namespace.QName pid)
getProcessInfo in interface ProcessManagementpublic ProcessInfoDocument activate(javax.xml.namespace.QName pid)
activate in interface ProcessManagementpublic ProcessInfoDocument setRetired(javax.xml.namespace.QName pid, boolean retired) throws ManagementException
setRetired in interface ProcessManagementManagementExceptionpublic void setPackageRetired(java.lang.String packageName,
boolean retired)
throws ManagementException
setPackageRetired in interface ProcessManagementManagementExceptionpublic ProcessInfoDocument setProcessPropertyNode(javax.xml.namespace.QName pid, javax.xml.namespace.QName propertyName, org.w3c.dom.Node value) throws ManagementException
setProcessPropertyNode in interface ProcessManagementManagementExceptionpublic ProcessInfoDocument setProcessProperty(javax.xml.namespace.QName pid, javax.xml.namespace.QName propertyName, java.lang.String value) throws ManagementException
setProcessProperty in interface ProcessManagementManagementExceptionpublic InstanceInfoListDocument listInstances(java.lang.String filter, java.lang.String order, int limit)
listInstances in interface InstanceManagementpublic InstanceInfoListDocument listInstancesSummary(java.lang.String filter, java.lang.String order, int limit)
listInstancesSummary in interface InstanceManagementpublic InstanceInfoListDocument listAllInstances()
listAllInstances in interface InstanceManagementpublic InstanceInfoListDocument listAllInstancesWithLimit(int limit)
listAllInstancesWithLimit in interface InstanceManagementpublic InstanceInfoDocument getInstanceInfo(java.lang.Long iid) throws InstanceNotFoundException
getInstanceInfo in interface InstanceManagementInstanceNotFoundExceptionpublic ScopeInfoDocument getScopeInfo(java.lang.String siid)
getScopeInfo in interface InstanceManagementpublic ScopeInfoDocument getScopeInfoWithActivity(java.lang.String siid, boolean includeActivityInfo)
getScopeInfoWithActivity in interface InstanceManagementpublic VariableInfoDocument getVariableInfo(java.lang.String scopeId, java.lang.String varName) throws ManagementException
getVariableInfo in interface InstanceManagementManagementExceptionpublic VariableInfoDocument setVariable(java.lang.String scopeId, java.lang.String varName, org.apache.xmlbeans.XmlObject value) throws ManagementException
ManagementExceptionpublic InstanceInfoDocument fault(java.lang.Long iid, javax.xml.namespace.QName faultname, org.w3c.dom.Element faultData)
fault in interface InstanceManagementpublic InstanceInfoDocument resume(java.lang.Long iid)
resume in interface InstanceManagementpublic InstanceInfoDocument suspend(java.lang.Long iid) throws ManagementException
suspend in interface InstanceManagementManagementExceptionpublic InstanceInfoDocument terminate(java.lang.Long iid) throws ManagementException
terminate in interface InstanceManagementManagementExceptionpublic InstanceInfoDocument recoverActivity(java.lang.Long iid, java.lang.Long aid, java.lang.String action)
recoverActivity in interface InstanceManagementpublic java.util.Collection<java.lang.Long> delete(java.lang.String filter)
delete in interface InstanceManagementpublic java.util.List<java.lang.String> getEventTimeline(java.lang.String instanceFilter,
java.lang.String eventFilter)
getEventTimeline in interface InstanceManagementpublic EventInfoListDocument listEvents(java.lang.String instanceFilter, java.lang.String eventFilter, int maxCount)
listEvents in interface InstanceManagementpublic ActivityExtInfoListDocument getExtensibilityElements(javax.xml.namespace.QName pid, java.lang.Integer[] aids)
getExtensibilityElements in interface ProcessManagementprotected final DebuggerSupport getDebugger(javax.xml.namespace.QName procid) throws ManagementException
DebuggerSupport object for the given process identifier.
Debugger support is required for operations that resume execution in some
way or manipulate the breakpoints.procid - process identifierManagementExceptionprotected final DebuggerSupport getDebugger(java.lang.Long iid)
DebuggerSupport object for the given instance identifier.
Debugger support is required for operations that resume execution in some
way or manipulate the breakpoints.iid - instance identifierManagementExceptionprotected <T> T dbexec(org.apache.ode.bpel.engine.BpelProcessDatabase.Callable<T> runnable)
throws ManagementException
ManagementExceptions.runnable - action to runManagementExceptionprotected <T> T dbexec(BpelDatabase.Callable<T> callable) throws ManagementException
ManagementExceptions.callable - action to runManagementExceptionpublic InstanceInfoListDocument queryInstances(java.lang.String query)
queryInstances in interface InstanceManagementInstanceManagement.queryInstances(java.lang.String)public ReplayResponseDocument replay(Replay request) throws ManagementException
ManagementExceptionpublic GetCommunicationResponseDocument getCommunication(GetCommunication request) throws ManagementException
ManagementExceptionCopyright © 2021 WSO2. All Rights Reserved.