com.sun.caps.management.api.bpel
Class BPELManagementServiceFactory
java.lang.Object
com.sun.caps.management.api.bpel.BPELManagementServiceFactory
public class BPELManagementServiceFactory
- extends java.lang.Object
The Factory class to create BPELManagementService
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BPELManagementServiceFactory
public BPELManagementServiceFactory()
getBPELManagementServiceRemote
public static BPELManagementService getBPELManagementServiceRemote(java.lang.String jmxHostName,
int jmxPort,
java.lang.String jmxUserName,
java.lang.String jmxPwd)
throws java.lang.Exception
- Get the BPELManagementService by making remote JMX connection
- Parameters:
jmxHostName - The host namejmxPort - The portNumber, default is 8686jmxUserName - The admin userNamejmxPwd - The admin password
- Returns:
- BPELManagementService
- Throws:
java.lang.Exception
getBPELManagementServiceLocal
public static BPELManagementService getBPELManagementServiceLocal(javax.management.MBeanServerConnection mbeanServerConn)
throws java.lang.Exception
- Get the BPELManagementService by taking a local MBeanServerConnection. This is applicable when monitor client and
bpelse co-locate on the same appserver and MbeanServerConnection can be obtained before calling this method
- Parameters:
mbeanServerConn - The MbeanServerConnection to the AppServer
- Returns:
- BPELManagementService
- Throws:
java.lang.Exception