Class JmxConnectUtil
Methods herein will return null or throw an exception if the host they are
called on is not trusted by the target JVM. Trust is determined by being
on the same host, being a node in the Windchill server cluster (as per
wt.cache.main.secondaryHosts and wt.cache.main.hostname), or being listed
in wt.auth.trustedHosts.
Supported API: true
Extendable: false
-
Method Summary
Modifier and TypeMethodDescriptionstatic JMXConnectorOpens a local JMX connection to the default method server.static JMXConnectorOpens a local JMX connection to the default server manager.static JMXConnectorgetLocalConnector(RemoteServerManager remoteServerManager) Opens a local JMX connection to the specified server manager.static JMXConnectorgetLocalConnector(RemoteMethodServer remoteMethodServer) Opens a local JMX connection to the specified method server.
-
Method Details
-
getDefaultServerManagerLocalConnector
Opens a local JMX connection to the default server manager.Do note that a WTContext should be established prior to calling this routine. If in the servlet engine or server-side utility make use of WTContextBeanHandler as needed, else initialize WTContext appropriately in your client.
Supported API: true- Throws:
IOException
-
getLocalConnector
public static JMXConnector getLocalConnector(RemoteServerManager remoteServerManager) throws IOException Opens a local JMX connection to the specified server manager.
Supported API: true- Throws:
IOException
-
getDefaultMethodServerLocalConnector
Opens a local JMX connection to the default method server.Do note that a WTContext should be established prior to calling this routine. If in the servlet engine or server-side utility make use of WTContextBeanHandler as needed, else initialize WTContext appropriately in your client.
Supported API: true- Throws:
IOException
-
getLocalConnector
public static JMXConnector getLocalConnector(RemoteMethodServer remoteMethodServer) throws IOException Opens a local JMX connection to the specified method server.
Supported API: true- Throws:
IOException
-