Class Manager


  • public class Manager
    extends java.lang.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​(java.lang.String[] args)
      Run with no arguments for usage instructions.
      static void manage​(java.lang.String domain, Injector injector)
      Registers all the bindings of an Injector with the platform MBean server.
      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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Manager

        public Manager()
    • 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 root Module class 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 root Module class as the domain.
      • main

        public static void main​(java.lang.String[] args)
                         throws java.lang.Exception
        Run with no arguments for usage instructions.
        Throws:
        java.lang.Exception