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, Scope scope) protected <Q> Supplier<Q> discover(ClassLoader classLoader) protected voiddoBindImplicit(Key<?> key, Binding<?> binding) getBindings(Key<T> key) <Q> Supplier<Q> getCompiledBinding(Key<Q> key) <T> TgetInstance(Class<T> key) <T> TgetInstance(Key<T> key) <T> voidinjectInstance(T instance) protected <T> List<T> protected <K,V> 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
-
bindInstance
- Specified by:
bindInstancein interfaceInjector
-
bindImplicit
- Specified by:
bindImplicitin interfaceInjector
-
bind
-
getBindings
-
getBoundKeys
-
getBindings
-
getCompiledBinding
-
compile
-
doBindImplicit
-
map
-
list
-