public abstract class LifeCycleModule
extends com.google.inject.AbstractModule
Constructor and Description |
---|
LifeCycleModule() |
Modifier and Type | Method and Description |
---|---|
protected void |
bindLifeCycle(java.lang.Class<? extends java.lang.annotation.Annotation> annotation)
Binds lifecycle listener.
|
protected void |
bindLifeCycle(java.lang.Class<? extends java.lang.annotation.Annotation> annotation,
com.google.inject.matcher.Matcher<? super com.google.inject.TypeLiteral<?>> typeMatcher)
Binds lifecycle listener.
|
protected void |
bindLifeCycle(java.util.List<? extends java.lang.Class<? extends java.lang.annotation.Annotation>> annotations,
com.google.inject.matcher.Matcher<? super com.google.inject.TypeLiteral<?>> typeMatcher)
Binds lifecycle listener.
|
addError, addError, addError, bind, bind, bind, bindConstant, binder, bindInterceptor, bindListener, bindListener, bindScope, configure, configure, convertToTypes, currentStage, getMembersInjector, getMembersInjector, getProvider, getProvider, install, requestInjection, requestStaticInjection, requireBinding, requireBinding
protected final void bindLifeCycle(java.lang.Class<? extends java.lang.annotation.Annotation> annotation)
annotation
- the lifecycle annotation to be searched.protected final void bindLifeCycle(java.lang.Class<? extends java.lang.annotation.Annotation> annotation, com.google.inject.matcher.Matcher<? super com.google.inject.TypeLiteral<?>> typeMatcher)
annotation
- the lifecycle annotation to be searched.typeMatcher
- the filter for injectee types.protected final void bindLifeCycle(java.util.List<? extends java.lang.Class<? extends java.lang.annotation.Annotation>> annotations, com.google.inject.matcher.Matcher<? super com.google.inject.TypeLiteral<?>> typeMatcher)
annotations
- the lifecycle annotations to be searched in the order to be searched.typeMatcher
- the filter for injectee types.