Package com.google.inject.tools.jmx
Class Manager
- java.lang.Object
-
- com.google.inject.tools.jmx.Manager
-
public class Manager extends java.lang.ObjectProvides a JMX interface to Guice.
-
-
Constructor Summary
Constructors Constructor Description Manager()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidmain(java.lang.String[] args)Run with no arguments for usage instructions.static voidmanage(java.lang.String domain, Injector injector)Registers all the bindings of an Injector with the platform MBean server.static voidmanage(javax.management.MBeanServer server, java.lang.String domain, Injector injector)Registers all the bindings of an Injector with the given MBean server.(package private) static java.lang.Stringquote(java.lang.String value)
-
-
-
Method Detail
-
manage
public static void manage(java.lang.String domain, Injector injector)Registers all the bindings of an Injector with the platform MBean server. Consider using the name of your rootModuleclass as the domain.
-
manage
public static void manage(javax.management.MBeanServer server, java.lang.String domain, Injector injector)Registers all the bindings of an Injector with the given MBean server. Consider using the name of your rootModuleclass as the domain.
-
quote
static java.lang.String quote(java.lang.String value)
-
main
public static void main(java.lang.String[] args) throws java.lang.ExceptionRun with no arguments for usage instructions.- Throws:
java.lang.Exception
-
-