IBM Business Process Manager provides a programming interface for accessing process monitor data.
com.lombardisoftware:Scope=ENVIRONMENT_SERVER,Name=ProcessMonitor,cell=[cell],Type=ProcessMonitor,node=[node],process=[server]
Information on the management interface of the MBean
<?xml version="1.0" encoding="UTF-8"?> <xsd:schema attributeFormDefault="unqualified" elementFormDefault="qualified" targetNamespace="http://www.ibm.com/bpm/v1/process_monitor" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://www.ibm.com/bpm/v1/process_monitor"> <xsd:element name="processMonitor" type="tns:processMonitorType" /> <xsd:complexType name="processMonitorType"> <xsd:sequence> <xsd:element name="process" type="tns:processType" minOccurs="0" maxOccurs="unbounded"/> <xsd:element name="service" type="tns:serviceType" minOccurs="0" maxOccurs="unbounded"/> </xsd:sequence> <xsd:attribute type="xsd:string" name="server" /> <xsd:attribute type="xsd:string" name="id" /> <xsd:attribute type="xsd:boolean" name="showDetails" /> <xsd:attribute type="xsd:long" name="durationExceededInSeconds" /> <xsd:attribute type="xsd:long" name="stepExceeded" /> </xsd:complexType> <xsd:complexType name="stepType"> <xsd:attribute type="xsd:string" name="name"/> <xsd:attribute type="xsd:string" name="type"/> <xsd:attribute type="xsd:dateTime" name="lastEnterTime" /> <xsd:attribute type="xsd:string" name="lastDuration"/> <xsd:attribute type="xsd:string" name="totalDuration"/> <xsd:attribute type="xsd:long" name="steps"/> </xsd:complexType> <xsd:complexType name="serviceType"> <xsd:sequence> <xsd:element name="step" type="tns:stepType" minOccurs="0" maxOccurs="unbounded"/> </xsd:sequence> <xsd:attribute type="xsd:string" name="processApplication"/> <xsd:attribute type="xsd:string" name="name" /> <xsd:attribute type="xsd:string" name="state" /> <xsd:attribute type="xsd:string" name="contextID" /> <xsd:attribute type="xsd:dateTime" name="lastEnterTime"/> <xsd:attribute type="xsd:string" name="duration"/> <xsd:attribute type="xsd:string" name="lastDuration"/> <xsd:attribute type="xsd:string" name="totalDuration"/> <xsd:attribute type="xsd:long" name="steps"/> </xsd:complexType> <xsd:complexType name="processType"> <xsd:sequence> <xsd:element name="step" type="tns:stepType" minOccurs="0" maxOccurs="unbounded"/> <xsd:element name="service" type="tns:serviceType" minOccurs="0" maxOccurs="unbounded"/> </xsd:sequence> <xsd:attribute type="xsd:string" name="processApplication"/> <xsd:attribute type="xsd:string" name="name"/> <xsd:attribute type="xsd:long" name="instanceID"/> <xsd:attribute type="xsd:string" name="state"/> <xsd:attribute type="xsd:dateTime" name="lastEnterTime"/> <xsd:attribute type="xsd:string" name="totalDuration"/> <xsd:attribute type="xsd:long" name="steps"/> </xsd:complexType> </xsd:schema>
| Attribute Summary | |
|---|---|
java.lang.String |
DisplayName
|
boolean |
Monitoring
|
javax.management.ObjectName |
ParentObjectName
|
| Operation Summary | |
|---|---|
void |
haltProcess(java.lang.String processInstanceID)
Attempt to halt running of a process instance. |
void |
haltProcessAndAssociatedServices(java.lang.String processInstanceID)
Attempt to halt running of a process instance. |
void |
haltService(java.lang.String serviceContextID)
Attempt to halt running of a service execution. |
java.lang.String |
retrieveMonitorAll()
Return all process monitor data |
java.lang.String |
retrieveMonitorAllAsJSON()
Return all process monitor data |
java.lang.String |
retrieveMonitorByFilter(boolean showDetails,
long durationExceededInSeconds,
long stepExceeded)
Return a selected set process monitor data |
java.lang.String |
retrieveMonitorByFilterAsJSON(boolean showDetails,
long durationExceededInSeconds,
long stepExceeded)
Return a selected set process monitor data |
void |
startMonitoring()
|
void |
stopMonitoring()
|
| Operations inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Attribute Detail |
|---|
public boolean Monitoring
public java.lang.String DisplayName
public javax.management.ObjectName ParentObjectName
| Operation Detail |
|---|
public void startMonitoring()
public void stopMonitoring()
public java.lang.String retrieveMonitorAll()
throws AdminException
AdminExceptionpublic java.lang.String retrieveMonitorByFilter(boolean showDetails,
long durationExceededInSeconds,
long stepExceeded)
throws AdminException
showDetails - show information about individual steps in process instance/servicedurationExceededInSeconds - only show process instance/service that exceeded a certain time in secondsstepExceeded - only show process instance/service that exceeded a certain steps
AdminExceptionpublic java.lang.String retrieveMonitorAllAsJSON()
throws AdminException
AdminExceptionpublic java.lang.String retrieveMonitorByFilterAsJSON(boolean showDetails,
long durationExceededInSeconds,
long stepExceeded)
throws AdminException
showDetails - show information about individual steps in process instance/servicedurationExceededInSeconds - only show process instance/service that exceeded a certain time in secondsstepExceeded - only show process instance/service that exceeded a certain steps
AdminExceptionpublic void haltProcess(java.lang.String processInstanceID)
throws AdminException
AdminExceptionpublic void haltProcessAndAssociatedServices(java.lang.String processInstanceID)
throws AdminException
AdminExceptionpublic void haltService(java.lang.String serviceContextID)
throws AdminException
AdminException