Package org.apache.maven.di.impl
Class InjectorImpl
java.lang.Object
org.apache.maven.di.impl.InjectorImpl
- All Implemented Interfaces:
Injector
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected <U> Injector
bindImplicit
(Class<?> clazz) <U> Injector
bindInstance
(Class<U> clazz, U instance) bindScope
(Class<? extends Annotation> scopeAnnotation, Scope scope) discover
(ClassLoader classLoader) protected void
doBindImplicit
(Key<?> key, Binding<?> binding) <Q> Supplier
<Q> getCompiledBinding
(Key<Q> key) <T> T
getInstance
(Class<T> key) <T> T
getInstance
(Key<T> key) <T> void
injectInstance
(T instance)
-
Constructor Details
-
InjectorImpl
public InjectorImpl()
-
-
Method Details
-
getInstance
- Specified by:
getInstance
in interfaceInjector
-
getInstance
- Specified by:
getInstance
in interfaceInjector
-
injectInstance
public <T> void injectInstance(T instance) - Specified by:
injectInstance
in interfaceInjector
-
discover
-
bindScope
-
bindInstance
- Specified by:
bindInstance
in interfaceInjector
-
bindImplicit
- Specified by:
bindImplicit
in interfaceInjector
-
bind
-
getCompiledBinding
-
doBindImplicit
-