Package org.apache.maven.di.impl
Class Binding<T>
java.lang.Object
org.apache.maven.di.impl.Binding<T>
- Direct Known Subclasses:
Binding.BindingToConstructor
,Binding.BindingToInstance
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
static interface
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionKey
<?> int
getScope()
initializeWith
(BindingInitializer<T> bindingInitializer) prioritize
(int priority) scope
(Annotation scope) static <R> Binding
<R> to
(Key<R> originalKey, Binding.TupleConstructorN<R> constructor, Class<?>[] types) static <R> Binding
<R> to
(Key<R> originalKey, Binding.TupleConstructorN<R> constructor, Key<?>[] dependencies) static <R> Binding
<R> to
(Key<R> originalKey, Binding.TupleConstructorN<R> constructor, Key<?>[] dependencies, int priority) static <T> Binding
<T> toInstance
(T instance) toString()
-
Constructor Details
-
Binding
-
Binding
-
-
Method Details
-
toInstance
-
to
public static <R> Binding<R> to(Key<R> originalKey, Binding.TupleConstructorN<R> constructor, Class<?>[] types) -
to
public static <R> Binding<R> to(Key<R> originalKey, Binding.TupleConstructorN<R> constructor, Key<?>[] dependencies) -
to
public static <R> Binding<R> to(Key<R> originalKey, Binding.TupleConstructorN<R> constructor, Key<?>[] dependencies, int priority) -
scope
-
prioritize
-
withKey
-
initializeWith
-
compile
-
getDependencies
-
getScope
-
getDisplayString
-
getOriginalKey
-
getPriority
public int getPriority() -
toString
-