Class GeneralInjectionModule

  • All Implemented Interfaces:
    com.google.inject.Module

    public class GeneralInjectionModule
    extends Object
    implements com.google.inject.Module
    A Module implementation used by Guice to set-up general (used by many classes in the application) dependencies.
    • Constructor Detail

      • GeneralInjectionModule

        public GeneralInjectionModule​(JmxSettings jmxSettings)
    • Method Detail

      • configure

        public void configure​(com.google.inject.Binder binder)

        Contributes bindings and other configurations for this module to binder.

        Do not invoke this method directly to install submodules. Instead use Binder.install(com.google.inject.Module), which ensures that provider methods are discovered.

        Specified by:
        configure in interface com.google.inject.Module
      • provideVersion

        @Provides
        @Singleton
        protected Version provideVersion()
      • provideSimpleJMX

        @Provides
        @Singleton
        protected SimpleJMX provideSimpleJMX()