Package org.jdbi.v3.guice.internal
Class InternalImportBindingBuilder<T>
java.lang.Object
org.jdbi.v3.guice.internal.InternalImportBindingBuilder<T>
- All Implemented Interfaces:
ScopedBindingBuilder
Import binding builder.
-
Constructor Summary
ConstructorDescriptionInternalImportBindingBuilder
(LinkedBindingBuilder<T> binder, Key<T> concreteType) -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
void
in
(Class<? extends Annotation> scopeAnnotation) to
(TypeLiteral<? extends T> type) Bind a different type as the given binding.Bind a different type as the given binding.
-
Constructor Details
-
InternalImportBindingBuilder
-
-
Method Details
-
to
Bind a different type as the given binding. This allows binding e.g. implementations to interface types. -
to
Bind a different type as the given binding. This allows binding e.g. implementations to interface types. -
in
- Specified by:
in
in interfaceScopedBindingBuilder
-
in
- Specified by:
in
in interfaceScopedBindingBuilder
-
asEagerSingleton
public void asEagerSingleton()- Specified by:
asEagerSingleton
in interfaceScopedBindingBuilder
-