Package com.google.inject.tools.jmx
Class Manager
- java.lang.Object
-
- com.google.inject.tools.jmx.Manager
-
public class Manager extends Object
Provides 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 void
main(String[] args)
Run with no arguments for usage instructions.static void
manage(String domain, Injector injector)
Registers all the bindings of an Injector with the platform MBean server.static void
manage(MBeanServer server, String domain, Injector injector)
Registers all the bindings of an Injector with the given MBean server.
-
-
-
Method Detail
-
manage
public static void manage(String domain, Injector injector)
Registers all the bindings of an Injector with the platform MBean server. Consider using the name of your rootModule
class as the domain.
-
manage
public static void manage(MBeanServer server, String domain, Injector injector)
Registers all the bindings of an Injector with the given MBean server. Consider using the name of your rootModule
class as the domain.
-
-