Class AbstractConfigurationAwareModule

java.lang.Object
io.airlift.configuration.AbstractConfigurationAwareModule
All Implemented Interfaces:
com.google.inject.Module, ConfigurationAwareModule
Direct Known Subclasses:
ConditionalModule, SwitchModule

public abstract class AbstractConfigurationAwareModule extends Object implements ConfigurationAwareModule
  • Constructor Details

    • AbstractConfigurationAwareModule

      public AbstractConfigurationAwareModule()
  • Method Details

    • setConfigurationFactory

      public void setConfigurationFactory(ConfigurationFactory configurationFactory)
      Specified by:
      setConfigurationFactory in interface ConfigurationAwareModule
    • configure

      public final void configure(com.google.inject.Binder binder)
      Specified by:
      configure in interface com.google.inject.Module
    • consumeProperty

      protected void consumeProperty(String name)
    • getProperties

      protected Map<String,String> getProperties()
    • getProperty

      protected Optional<String> getProperty(String name)
    • buildConfigObject

      protected <T> T buildConfigObject(Class<T> configClass)
    • buildConfigObject

      protected <T> T buildConfigObject(Class<T> configClass, String prefix)
    • install

      protected void install(com.google.inject.Module module)
    • setup

      protected abstract void setup(com.google.inject.Binder binder)