|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.ode.bpel.engine.ProcessAndInstanceManagementImpl
public class ProcessAndInstanceManagementImpl
Implementation of the Process and InstanceManagement APIs.
| Field Summary | |
|---|---|
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 org.apache.ode.bpel.iapi.ProcessStore |
_store
|
| Constructor Summary | |
|---|---|
ProcessAndInstanceManagementImpl(org.apache.ode.bpel.iapi.BpelServer server,
org.apache.ode.bpel.iapi.ProcessStore store)
|
|
| Method Summary | ||
|---|---|---|
org.apache.ode.bpel.pmapi.ProcessInfoDocument |
activate(javax.xml.namespace.QName pid)
|
|
protected
|
dbexec(BpelDatabase.Callable<T> callable)
Execute a database transaction, unwrapping nested ManagementExceptions. |
|
protected
|
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)
|
|
org.apache.ode.bpel.pmapi.InstanceInfoDocument |
fault(java.lang.Long iid,
javax.xml.namespace.QName faultname,
org.w3c.dom.Element faultData)
|
|
org.apache.ode.bpel.pmapi.GetCommunicationResponseDocument |
getCommunication(org.apache.ode.bpel.pmapi.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)
|
|
org.apache.ode.bpel.pmapi.ActivityExtInfoListDocument |
getExtensibilityElements(javax.xml.namespace.QName pid,
java.lang.Integer[] aids)
|
|
org.apache.ode.bpel.pmapi.InstanceInfoDocument |
getInstanceInfo(java.lang.Long iid)
|
|
org.apache.ode.bpel.pmapi.ProcessInfoDocument |
getProcessInfo(javax.xml.namespace.QName pid)
|
|
org.apache.ode.bpel.pmapi.ProcessInfoDocument |
getProcessInfoCustom(javax.xml.namespace.QName pid,
org.apache.ode.bpel.pmapi.ProcessInfoCustomizer custom)
|
|
org.apache.ode.bpel.pmapi.ScopeInfoDocument |
getScopeInfo(java.lang.String siid)
|
|
org.apache.ode.bpel.pmapi.ScopeInfoDocument |
getScopeInfoWithActivity(java.lang.String siid,
boolean includeActivityInfo)
|
|
org.apache.ode.bpel.pmapi.VariableInfoDocument |
getVariableInfo(java.lang.String scopeId,
java.lang.String varName)
|
|
org.apache.ode.bpel.pmapi.InstanceInfoListDocument |
listAllInstances()
|
|
org.apache.ode.bpel.pmapi.InstanceInfoListDocument |
listAllInstancesWithLimit(int limit)
|
|
org.apache.ode.bpel.pmapi.ProcessInfoListDocument |
listAllProcesses()
|
|
org.apache.ode.bpel.pmapi.EventInfoListDocument |
listEvents(java.lang.String instanceFilter,
java.lang.String eventFilter,
int maxCount)
|
|
org.apache.ode.bpel.pmapi.InstanceInfoListDocument |
listInstances(java.lang.String filter,
java.lang.String order,
int limit)
|
|
org.apache.ode.bpel.pmapi.InstanceInfoListDocument |
listInstancesSummary(java.lang.String filter,
java.lang.String order,
int limit)
|
|
org.apache.ode.bpel.pmapi.ProcessInfoListDocument |
listProcesses(java.lang.String filter,
java.lang.String orderKeys)
|
|
org.apache.ode.bpel.pmapi.ProcessInfoListDocument |
listProcessesCustom(java.lang.String filter,
java.lang.String orderKeys,
org.apache.ode.bpel.pmapi.ProcessInfoCustomizer custom)
|
|
org.apache.ode.bpel.pmapi.ProcessInfoListDocument |
listProcessesSummaryOnly()
|
|
org.apache.ode.bpel.pmapi.InstanceInfoListDocument |
queryInstances(java.lang.String query)
|
|
org.apache.ode.bpel.pmapi.InstanceInfoDocument |
recoverActivity(java.lang.Long iid,
java.lang.Long aid,
java.lang.String action)
|
|
org.apache.ode.bpel.pmapi.ReplayResponseDocument |
replay(org.apache.ode.bpel.pmapi.Replay request)
|
|
org.apache.ode.bpel.pmapi.InstanceInfoDocument |
resume(java.lang.Long iid)
|
|
void |
setPackageRetired(java.lang.String packageName,
boolean retired)
|
|
org.apache.ode.bpel.pmapi.ProcessInfoDocument |
setProcessProperty(javax.xml.namespace.QName pid,
javax.xml.namespace.QName propertyName,
java.lang.String value)
|
|
org.apache.ode.bpel.pmapi.ProcessInfoDocument |
setProcessPropertyNode(javax.xml.namespace.QName pid,
javax.xml.namespace.QName propertyName,
org.w3c.dom.Node value)
|
|
org.apache.ode.bpel.pmapi.ProcessInfoDocument |
setRetired(javax.xml.namespace.QName pid,
boolean retired)
|
|
org.apache.ode.bpel.pmapi.InstanceInfoDocument |
suspend(java.lang.Long iid)
|
|
org.apache.ode.bpel.pmapi.InstanceInfoDocument |
terminate(java.lang.Long iid)
|
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
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 org.apache.ode.bpel.iapi.ProcessStore _store
protected java.util.Calendar _calendar
protected BpelServerImpl _server
| Constructor Detail |
|---|
public ProcessAndInstanceManagementImpl(org.apache.ode.bpel.iapi.BpelServer server,
org.apache.ode.bpel.iapi.ProcessStore store)
| Method Detail |
|---|
public org.apache.ode.bpel.pmapi.ProcessInfoListDocument listProcessesCustom(java.lang.String filter,
java.lang.String orderKeys,
org.apache.ode.bpel.pmapi.ProcessInfoCustomizer custom)
listProcessesCustom in interface org.apache.ode.bpel.pmapi.ProcessManagement
public org.apache.ode.bpel.pmapi.ProcessInfoListDocument listProcesses(java.lang.String filter,
java.lang.String orderKeys)
listProcesses in interface org.apache.ode.bpel.pmapi.ProcessManagementpublic org.apache.ode.bpel.pmapi.ProcessInfoListDocument listAllProcesses()
listAllProcesses in interface org.apache.ode.bpel.pmapi.ProcessManagementpublic org.apache.ode.bpel.pmapi.ProcessInfoListDocument listProcessesSummaryOnly()
listProcessesSummaryOnly in interface org.apache.ode.bpel.pmapi.ProcessManagement
public org.apache.ode.bpel.pmapi.ProcessInfoDocument getProcessInfoCustom(javax.xml.namespace.QName pid,
org.apache.ode.bpel.pmapi.ProcessInfoCustomizer custom)
getProcessInfoCustom in interface org.apache.ode.bpel.pmapi.ProcessManagementpublic org.apache.ode.bpel.pmapi.ProcessInfoDocument getProcessInfo(javax.xml.namespace.QName pid)
getProcessInfo in interface org.apache.ode.bpel.pmapi.ProcessManagementpublic org.apache.ode.bpel.pmapi.ProcessInfoDocument activate(javax.xml.namespace.QName pid)
activate in interface org.apache.ode.bpel.pmapi.ProcessManagement
public org.apache.ode.bpel.pmapi.ProcessInfoDocument setRetired(javax.xml.namespace.QName pid,
boolean retired)
throws org.apache.ode.bpel.pmapi.ManagementException
setRetired in interface org.apache.ode.bpel.pmapi.ProcessManagementorg.apache.ode.bpel.pmapi.ManagementException
public void setPackageRetired(java.lang.String packageName,
boolean retired)
throws org.apache.ode.bpel.pmapi.ManagementException
setPackageRetired in interface org.apache.ode.bpel.pmapi.ProcessManagementorg.apache.ode.bpel.pmapi.ManagementException
public org.apache.ode.bpel.pmapi.ProcessInfoDocument setProcessPropertyNode(javax.xml.namespace.QName pid,
javax.xml.namespace.QName propertyName,
org.w3c.dom.Node value)
throws org.apache.ode.bpel.pmapi.ManagementException
setProcessPropertyNode in interface org.apache.ode.bpel.pmapi.ProcessManagementorg.apache.ode.bpel.pmapi.ManagementException
public org.apache.ode.bpel.pmapi.ProcessInfoDocument setProcessProperty(javax.xml.namespace.QName pid,
javax.xml.namespace.QName propertyName,
java.lang.String value)
throws org.apache.ode.bpel.pmapi.ManagementException
setProcessProperty in interface org.apache.ode.bpel.pmapi.ProcessManagementorg.apache.ode.bpel.pmapi.ManagementException
public org.apache.ode.bpel.pmapi.InstanceInfoListDocument listInstances(java.lang.String filter,
java.lang.String order,
int limit)
listInstances in interface org.apache.ode.bpel.pmapi.InstanceManagement
public org.apache.ode.bpel.pmapi.InstanceInfoListDocument listInstancesSummary(java.lang.String filter,
java.lang.String order,
int limit)
listInstancesSummary in interface org.apache.ode.bpel.pmapi.InstanceManagementpublic org.apache.ode.bpel.pmapi.InstanceInfoListDocument listAllInstances()
listAllInstances in interface org.apache.ode.bpel.pmapi.InstanceManagementpublic org.apache.ode.bpel.pmapi.InstanceInfoListDocument listAllInstancesWithLimit(int limit)
listAllInstancesWithLimit in interface org.apache.ode.bpel.pmapi.InstanceManagement
public org.apache.ode.bpel.pmapi.InstanceInfoDocument getInstanceInfo(java.lang.Long iid)
throws org.apache.ode.bpel.pmapi.InstanceNotFoundException
getInstanceInfo in interface org.apache.ode.bpel.pmapi.InstanceManagementorg.apache.ode.bpel.pmapi.InstanceNotFoundExceptionpublic org.apache.ode.bpel.pmapi.ScopeInfoDocument getScopeInfo(java.lang.String siid)
getScopeInfo in interface org.apache.ode.bpel.pmapi.InstanceManagement
public org.apache.ode.bpel.pmapi.ScopeInfoDocument getScopeInfoWithActivity(java.lang.String siid,
boolean includeActivityInfo)
getScopeInfoWithActivity in interface org.apache.ode.bpel.pmapi.InstanceManagement
public org.apache.ode.bpel.pmapi.VariableInfoDocument getVariableInfo(java.lang.String scopeId,
java.lang.String varName)
throws org.apache.ode.bpel.pmapi.ManagementException
getVariableInfo in interface org.apache.ode.bpel.pmapi.InstanceManagementorg.apache.ode.bpel.pmapi.ManagementException
public org.apache.ode.bpel.pmapi.InstanceInfoDocument fault(java.lang.Long iid,
javax.xml.namespace.QName faultname,
org.w3c.dom.Element faultData)
fault in interface org.apache.ode.bpel.pmapi.InstanceManagementpublic org.apache.ode.bpel.pmapi.InstanceInfoDocument resume(java.lang.Long iid)
resume in interface org.apache.ode.bpel.pmapi.InstanceManagement
public org.apache.ode.bpel.pmapi.InstanceInfoDocument suspend(java.lang.Long iid)
throws org.apache.ode.bpel.pmapi.ManagementException
suspend in interface org.apache.ode.bpel.pmapi.InstanceManagementorg.apache.ode.bpel.pmapi.ManagementException
public org.apache.ode.bpel.pmapi.InstanceInfoDocument terminate(java.lang.Long iid)
throws org.apache.ode.bpel.pmapi.ManagementException
terminate in interface org.apache.ode.bpel.pmapi.InstanceManagementorg.apache.ode.bpel.pmapi.ManagementException
public org.apache.ode.bpel.pmapi.InstanceInfoDocument recoverActivity(java.lang.Long iid,
java.lang.Long aid,
java.lang.String action)
recoverActivity in interface org.apache.ode.bpel.pmapi.InstanceManagementpublic java.util.Collection<java.lang.Long> delete(java.lang.String filter)
delete in interface org.apache.ode.bpel.pmapi.InstanceManagement
public java.util.List<java.lang.String> getEventTimeline(java.lang.String instanceFilter,
java.lang.String eventFilter)
getEventTimeline in interface org.apache.ode.bpel.pmapi.InstanceManagement
public org.apache.ode.bpel.pmapi.EventInfoListDocument listEvents(java.lang.String instanceFilter,
java.lang.String eventFilter,
int maxCount)
listEvents in interface org.apache.ode.bpel.pmapi.InstanceManagement
public org.apache.ode.bpel.pmapi.ActivityExtInfoListDocument getExtensibilityElements(javax.xml.namespace.QName pid,
java.lang.Integer[] aids)
getExtensibilityElements in interface org.apache.ode.bpel.pmapi.ProcessManagement
protected final DebuggerSupport getDebugger(javax.xml.namespace.QName procid)
throws org.apache.ode.bpel.pmapi.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 identifier
org.apache.ode.bpel.pmapi.ManagementExceptionprotected 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 identifier
org.apache.ode.bpel.pmapi.ManagementException
protected <T> T dbexec(org.apache.ode.bpel.engine.BpelProcessDatabase.Callable<T> runnable)
throws org.apache.ode.bpel.pmapi.ManagementException
ManagementExceptions.
runnable - action to run
org.apache.ode.bpel.pmapi.ManagementException
protected <T> T dbexec(BpelDatabase.Callable<T> callable)
throws org.apache.ode.bpel.pmapi.ManagementException
ManagementExceptions.
callable - action to run
org.apache.ode.bpel.pmapi.ManagementExceptionpublic org.apache.ode.bpel.pmapi.InstanceInfoListDocument queryInstances(java.lang.String query)
queryInstances in interface org.apache.ode.bpel.pmapi.InstanceManagementInstanceManagement.queryInstances(java.lang.String)
public org.apache.ode.bpel.pmapi.ReplayResponseDocument replay(org.apache.ode.bpel.pmapi.Replay request)
throws org.apache.ode.bpel.pmapi.ManagementException
org.apache.ode.bpel.pmapi.ManagementException
public org.apache.ode.bpel.pmapi.GetCommunicationResponseDocument getCommunication(org.apache.ode.bpel.pmapi.GetCommunication request)
throws org.apache.ode.bpel.pmapi.ManagementException
org.apache.ode.bpel.pmapi.ManagementException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||