|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.jppf.management.JMXServerImpl
public class JMXServerImpl
This class is a wrapper around a JMX management server. It is used essentially to hide the details of the remote management protocol used.
| Constructor Summary | |
|---|---|
JMXServerImpl(String namespaceSuffix)
Initialize this JMX server with the specified namespace suffix. |
|
JMXServerImpl(String namespaceSuffix,
String id)
Initialize this JMX server with the specified namespace suffix and uuid. |
|
| Method Summary | |
|---|---|
String |
getId()
Get a unique identifier for this management server. |
MBeanServer |
getServer()
Get a reference to the MBean server. |
boolean |
isStopped()
Determine whether this JMX server is stopped. |
void |
start(ClassLoader cl)
Start the MBean server and associated resources. |
void |
stop()
Stop the MBean server and associated resources. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JMXServerImpl(String namespaceSuffix)
namespaceSuffix - used to distinguish between driver and node RMI registries.
public JMXServerImpl(String namespaceSuffix,
String id)
namespaceSuffix - used to distinguish between driver and node RMI registries.id - the unique id of the driver or node holding this jmx server.| Method Detail |
|---|
public void start(ClassLoader cl)
throws Exception
cl - - the default classloader to be used by the JMX remote connector.
Exception - if an error occurs when starting the server or one of its components.
public void stop()
throws Exception
Exception - if an error occurs when stopping the server or one of its components.public MBeanServer getServer()
MBeanServer instance.public boolean isStopped()
public String getId()
|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||