|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.uima.aae.jmx.RemoteJMXServer
public class RemoteJMXServer
Constructor Summary | |
---|---|
RemoteJMXServer()
|
Method Summary | |
---|---|
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 '_'. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RemoteJMXServer()
Method Detail |
---|
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 port
java.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 MBeanServer
public java.lang.String normalize(java.lang.String destinationName)
destinationName
-
public static void main(java.lang.String[] args)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |