public interface ScopedBindingBuilder
| Modifier and Type | Method and Description |
|---|---|
void |
asEagerSingleton()
Instructs the
Injector to eagerly initialize this
singleton-scoped binding upon creation. |
void |
in(Class<? extends Annotation> scopeAnnotation)
Specifies the scope.
|
void |
in(Scope scope)
Specifies the scope.
|
void in(Class<? extends Annotation> scopeAnnotation)
Binder.bindScope(Class, com.google.inject.Scope).void in(Scope scope)
void asEagerSingleton()
Injector to eagerly initialize this
singleton-scoped binding upon creation. Useful for application
initialization logic.Copyright © 2013. All Rights Reserved.