de.devsurf.injection.guice.reflections.example.automodule
Class ExampleModule

java.lang.Object
  extended by com.google.inject.AbstractModule
      extended by de.devsurf.injection.guice.reflections.example.automodule.ExampleModule
All Implemented Interfaces:
com.google.inject.Module

public class ExampleModule
extends com.google.inject.AbstractModule

This is a GuiceModule, which bind the ExampleImpl to the Example interface and it will be recognized by the ReflectionsScanner, due the fact that it is annotated with the GuiceModule.

Author:
Daniel Manzke

Constructor Summary
ExampleModule()
           
 
Method Summary
protected  void configure()
           
 
Methods inherited from class com.google.inject.AbstractModule
addError, addError, addError, bind, bind, bind, bindConstant, binder, bindInterceptor, 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 Detail

ExampleModule

public ExampleModule()
Method Detail

configure

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


Copyright © 2010. All Rights Reserved.