|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.synapse.JmxAdapter
public class JmxAdapter
JMX Adaptor class providing a JMX server connector to be able to query MBeans via JConsole or any
other JMX-compatible management solution.
The provided JNDI port will be used to create a local RMI registry. If no RMI port will be
provided dynamic RMI ports will be used for remote MBean queries.
If the JMXAdaptor shall be used in a firewalled environment, additionally a fixed RMI port should
be provided and both ports should be opened in the firewall.
JMX URL used if only JNDI port is provided:
service:jmx:rmi:///jndi/rmi://
JMX URL used if JNDI port and RMI port are provided:
service:jmx:rmi://
Constructor Summary | |
---|---|
JmxAdapter(JmxInformation jmxInformation)
Creates a new instance of a JMX Adaptor using the provided JMX information. |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JmxAdapter(JmxInformation jmxInformation)
jmxInformation
- any JMX related informationMethod Detail |
---|
public 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)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |