Class NamedConfigParametersOverrideModule

java.lang.Object
com.google.inject.AbstractModule
org.graylog2.bindings.NamedConfigParametersOverrideModule
All Implemented Interfaces:
com.google.inject.Module

public class NamedConfigParametersOverrideModule extends com.google.inject.AbstractModule
A Guice module which registers all fields of the provided objects annotated with Parameter as named bindings and optionally also adds bindings of the object instances themselves. For more flexibility, getter methods can also be used, which must be annotated with NamedBindingOverride. This class is based off NamedConfigParametersModule
See Also:
  • Named
  • Constructor Details

    • NamedConfigParametersOverrideModule

      public NamedConfigParametersOverrideModule(Collection<?> beans, boolean registerBeans)
    • NamedConfigParametersOverrideModule

      public NamedConfigParametersOverrideModule(Collection<?> beans)
  • Method Details

    • configure

      protected void configure()
      Overrides:
      configure in class com.google.inject.AbstractModule