|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ow2.jasmine.monitoring.mbeancmd.JmxAp
public class JmxAp
| Constructor Summary | |
|---|---|
JmxAp(CommandDispatcher cmdDispatcher)
Creates a JmxAp that connects to the default target's JMX URL. |
|
JmxAp(java.lang.String jmxUrl,
CommandDispatcher cmdDispatcher)
Creates a JmxAp that connects to a JMX URL. |
|
| Method Summary | |
|---|---|
void |
closeMBeanServerConnection()
In embedded mode only. |
CommandDispatcher |
getCmdDispatcher()
|
java.lang.String |
getJmxUrl()
|
javax.management.MBeanServerConnection |
getMBeanServerConnection()
Get the JMX connection. |
javax.management.MBeanServerConnection |
getMBeanServerConnection(boolean usePool)
Get the JMX connection. |
void |
releaseMBeanServerConnection()
In embedded mode only. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JmxAp(java.lang.String jmxUrl,
CommandDispatcher cmdDispatcher)
jmxUrl - URL to connect to.cmdDispatcher - CommandDispatcher instance corresponding to the current MBeanCmd command.public JmxAp(CommandDispatcher cmdDispatcher)
| Method Detail |
|---|
public java.lang.String getJmxUrl()
public CommandDispatcher getCmdDispatcher()
public javax.management.MBeanServerConnection getMBeanServerConnection(boolean usePool)
public javax.management.MBeanServerConnection getMBeanServerConnection()
public void closeMBeanServerConnection()
public void releaseMBeanServerConnection()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||