|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface BindingScopeBuilder
Specifies the scope for a binding.
Method Summary | |
---|---|
void |
eagerlyInContainer()
Instructs the Container to eagerly load this
container-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 eagerlyInContainer()
Container
to eagerly load this
container-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 |