|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.google.inject.AbstractModule
de.devsurf.injection.guice.scanner.StartupModule
de.devsurf.injection.guice.reflections.example.startupmodule.ExampleStartupModule
public class ExampleStartupModule
The ExampleStartupModule overwrites the
bindAnnotationListeners-Method, because our Example has several Classes
annotated with AutoBind and GuiceModule. Due the fact, that
our GuiceModule binds the Example-Interface to the
ExampleImpl-Class and the AutoBind.AutoBindListener too, we would get
a CreationException.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class de.devsurf.injection.guice.scanner.StartupModule |
|---|
StartupModule.DefaultStartupModule |
| Constructor Summary | |
|---|---|
ExampleStartupModule(Class<? extends ClasspathScanner> scanner,
String... packages)
|
|
| Method Summary | |
|---|---|
protected void |
bindAnnotationListeners()
|
| Methods inherited from class de.devsurf.injection.guice.scanner.StartupModule |
|---|
configure, create |
| 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 |
|---|
public ExampleStartupModule(Class<? extends ClasspathScanner> scanner,
String... packages)
| Method Detail |
|---|
protected void bindAnnotationListeners()
bindAnnotationListeners in class StartupModule
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||