org.apache.uima.aae.jmx
public class RemoteJMXServer extends java.lang.Object
Constructor and Description |
---|
RemoteJMXServer() |
Modifier and Type | Method and Description |
---|---|
void |
attachToTempQueue(java.lang.String tempQueueName) |
void |
disconnect()
Disconnects from MBeanServer
|
void |
initialize(java.lang.String jmxDomain,
java.lang.String remoteJMXServerHostname,
java.lang.String remoteJMXServerPort)
Creates a connection to an MBean Server identified by
remoteJMXServerHostName and remoteJMXServerPort |
boolean |
isClientReplyQueueAvailable(java.lang.String queueName)
Checks if a given queue name exists in remote MBeanServer's registry.
|
boolean |
isInitialized() |
boolean |
isServerAvailable()
Tries to fetch total number of MBeans in the MBeanServer.
|
static void |
main(java.lang.String[] args) |
java.lang.String |
normalize(java.lang.String destinationName)
Replaces ':' with '_'.
|
public boolean isInitialized()
public void initialize(java.lang.String jmxDomain, java.lang.String remoteJMXServerHostname, java.lang.String remoteJMXServerPort) throws java.lang.Exception
remoteJMXServerHostName and remoteJMXServerPort
remoteJMXServerHostName
- - MBeanServer host nameremoteJMXServerPort
- - MBeanServer portjava.lang.Exception
public void disconnect()
public boolean isServerAvailable()
public void attachToTempQueue(java.lang.String tempQueueName) throws java.lang.Exception
java.lang.Exception
public boolean isClientReplyQueueAvailable(java.lang.String queueName)
queueName
- - queue to lookup in the MBeanServerpublic java.lang.String normalize(java.lang.String destinationName)
destinationName
- public static void main(java.lang.String[] args)
Copyright © 2014. All Rights Reserved.