|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ScopedBindingBuilder
Specifies the scope for a binding.
Method Summary | |
---|---|
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. |
Method Detail |
---|
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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |