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
ConstructorsConstructorDescriptionInternalImportBindingBuilder(LinkedBindingBuilder<T> binder, Key<T> concreteType) -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidin(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:
inin interfaceScopedBindingBuilder
-
in
- Specified by:
inin interfaceScopedBindingBuilder
-
asEagerSingleton
public void asEagerSingleton()- Specified by:
asEagerSingletonin interfaceScopedBindingBuilder
-