Package org.apache.maven.di.impl
Class InjectorImpl
java.lang.Object
org.apache.maven.di.impl.InjectorImpl
- All Implemented Interfaces:
Injector
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected <U> InjectorbindImplicit(Class<?> clazz) <U> InjectorbindInstance(Class<U> clazz, U instance) bindScope(Class<? extends Annotation> scopeAnnotation, Supplier<Scope> scope) bindScope(Class<? extends Annotation> scopeAnnotation, Scope scope) protected <Q> Supplier<Q>discover(ClassLoader classLoader) protected voiddoBindImplicit(Key<?> key, Binding<?> binding) getBindings(Key<T> key) <Q> Supplier<Q>getCompiledBinding(Dependency<Q> dep) <T> TgetInstance(Class<T> key) <T> TgetInstance(Key<T> key) <T> voidinjectInstance(T instance) protected <Q,T> List<Q> protected <K,V, T> Map<K, V>
-
Constructor Details
-
InjectorImpl
public InjectorImpl()
-
-
Method Details
-
getInstance
- Specified by:
getInstancein interfaceInjector
-
getInstance
- Specified by:
getInstancein interfaceInjector
-
injectInstance
public <T> void injectInstance(T instance) - Specified by:
injectInstancein interfaceInjector
-
discover
-
bindScope
-
bindScope
-
bindInstance
- Specified by:
bindInstancein interfaceInjector
-
bindImplicit
- Specified by:
bindImplicitin interfaceInjector
-
bind
-
getBindings
-
getBoundKeys
-
getBindings
-
getCompiledBinding
-
compile
-
doBindImplicit
-
map
-
list
-