Interface ScopedBindingBuilder
- All Known Subinterfaces:
AnnotatedBindingBuilder<T>,LinkedBindingBuilder<T>
- All Known Implementing Classes:
BindingBuilder
public interface ScopedBindingBuilder
See the EDSL examples at
Binder.-
Method Summary
Modifier and Type Method Description voidasEagerSingleton()Instructs theInjectorto eagerly initialize this singleton-scoped binding upon creation.voidin(java.lang.Class<? extends java.lang.annotation.Annotation> scopeAnnotation)See the EDSL examples atBinder.voidin(Scope scope)See the EDSL examples atBinder.
-
Method Details
-
in
void in(java.lang.Class<? extends java.lang.annotation.Annotation> scopeAnnotation)See the EDSL examples atBinder. -
in
See the EDSL examples atBinder. -
asEagerSingleton
void asEagerSingleton()
-