public class JmxAdapter extends Object
service:jmx:rmi:///jndi/rmi://:/synapse
service:jmx:rmi://:/jndi/rmi://:/synapse
Constructor and Description |
---|
JmxAdapter(JmxInformation jmxInformation)
Creates a new instance of a JMX Adaptor using the provided JMX information.
|
Modifier and Type | Method and Description |
---|---|
JmxInformation |
getJmxInformation() |
boolean |
isRunning()
Determines whether the JMX Connector server has been started and is running.
|
void |
setJmxInformation(JmxInformation jmxInformation) |
void |
start()
Lazily creates the RMI registry and starts the JMX connector server based on the
|
void |
stop()
Stops the JMX connector server.
|
public JmxAdapter(JmxInformation jmxInformation)
jmxInformation
- any JMX related informationpublic void start()
SynapseException
- if the JMX configuration is erroneous and/or the connector server
cannot be startedpublic void stop()
public boolean isRunning()
public JmxInformation getJmxInformation()
public void setJmxInformation(JmxInformation jmxInformation)
Copyright © 2005-2017 Apache Software Foundation. All Rights Reserved.