com.google.inject.tools.jmx

Class Manager



  • public class Manager
    extends Object
    Provides a JMX interface to Guice.
    Author:
    crazybob@google.com (Bob Lee)
    • Constructor Detail

      • Manager

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

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

Copyright © 2006-2016 Google, Inc.. All Rights Reserved.