public class MBeanConnectorCreator extends Object
See http://java.sun.com/j2se/1.5.0/docs/guide/jmx/tutorial/security.html
TODO This implementation is not robust and could be improved.
TODO For instance: - Singleton behaviour
TODO -Reuse of already created registry
TODO Usage of access rights (for read-only mbeans) (see reference above)
Modifier and Type | Field and Description |
---|---|
static boolean |
isExposed |
Constructor and Description |
---|
MBeanConnectorCreator() |
Modifier and Type | Method and Description |
---|---|
static void |
exposeJMXMBeanServer()
Registers an RMI connector to the local mbean server in a private RMI registry, under the name "jmxrmi".
|
public static boolean isExposed
public MBeanConnectorCreator()
public static void exposeJMXMBeanServer()
IOFailure
- on trouble exposing the server.Copyright © 2005–2018 The Royal Danish Library, the National Library of France and the Austrian National Library.. All rights reserved.