AnnotatedBindingBuilder<T>, LinkedBindingBuilder<T>BindingBuilderpublic interface ScopedBindingBuilder
Binder.| Modifier and Type | Method | Description |
|---|---|---|
void |
asEagerSingleton() |
Instructs the
Injector to eagerly initialize this singleton-scoped
binding upon creation. |
void |
in(Scope scope) |
See the EDSL examples at
Binder. |
void |
in(Class<? extends Annotation> scopeAnnotation) |
See the EDSL examples at
Binder. |
void in(Class<? extends Annotation> scopeAnnotation)
Binder.void asEagerSingleton()
Copyright © 2006–2018 Google, Inc.. All rights reserved.