Class InstallerModule

java.lang.Object
com.google.inject.AbstractModule
ru.vyarus.dropwizard.guice.module.installer.InstallerModule
All Implemented Interfaces:
com.google.inject.Module

public class InstallerModule extends com.google.inject.AbstractModule
Module binds all discovered extensions to guice context: either perform default binding or call installer if it supports custom bindings.

Feature installers can be disabled from bundle config.

Since:
31.08.2014
  • Constructor Summary

    Constructors
    Constructor
    Description
    Create installer module.
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
     

    Methods inherited from class com.google.inject.AbstractModule

    addError, addError, addError, bind, bind, bind, bindConstant, binder, bindInterceptor, bindListener, bindListener, bindScope, configure, convertToTypes, currentStage, getMembersInjector, getMembersInjector, getProvider, getProvider, install, requestInjection, requestInjection, requestStaticInjection, requireBinding, requireBinding

    Methods inherited from class java.lang.Object

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

    • InstallerModule

      public InstallerModule(ConfigurationContext context)
      Create installer module.
      Parameters:
      context - configuration context
  • Method Details

    • configure

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