Module org.elasticsearch.server
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 TypeMethodDescriptionvoid
Instructs theInjector
to eagerly initialize this singleton-scoped binding upon creation.void
in
(Class<? extends Annotation> scopeAnnotation) See the EDSL examples atBinder
.
-
Method Details
-
in
See the EDSL examples atBinder
. -
asEagerSingleton
void asEagerSingleton()
-