Package org.apache.maven.di
Interface Injector
- All Known Implementing Classes:
InjectorImpl
public interface Injector
-
Method Summary
Modifier and TypeMethodDescriptionbindImplicit(Class<?> cls) <T> InjectorbindInstance(Class<T> cls, T instance) bindScope(Class<? extends Annotation> scopeAnnotation, Supplier<Scope> scope) bindScope(Class<? extends Annotation> scopeAnnotation, Scope scope) static Injectorcreate()discover(ClassLoader classLoader) <T> TgetInstance(Class<T> key) <T> TgetInstance(Key<T> key) <T> voidinjectInstance(T instance)
-
Method Details
-
create
-
discover
-
bindScope
-
bindScope
-
bindImplicit
-
bindInstance
-
injectInstance
-
getInstance
-
getInstance
-