Package nl.vpro.guice

Class OptionalModule

java.lang.Object
com.google.inject.AbstractModule
nl.vpro.guice.OptionalModule
All Implemented Interfaces:
com.google.inject.Module

public class OptionalModule extends com.google.inject.AbstractModule
Since:
1.69
Author:
Michiel Meeuwissen
  • Constructor Summary

    Constructors
    Constructor
    Description
    OptionalModule(Class... classes)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected static void
    bind(com.google.inject.Binder binder, AnnotatedElement f, Class<?> type, Type parameterizedType)
     
    protected void
     
    static void
    configure(com.google.inject.Binder binder, Class... classes)
     

    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, requestStaticInjection, requireBinding, requireBinding

    Methods inherited from class java.lang.Object

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

    • OptionalModule

      public OptionalModule(Class... classes)
  • Method Details

    • configure

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

      public static void configure(com.google.inject.Binder binder, Class... classes)
    • bind

      protected static void bind(com.google.inject.Binder binder, AnnotatedElement f, Class<?> type, Type parameterizedType)