Interface Injector

All Known Implementing Classes:
InjectorImpl

public interface Injector
  • Method Details

    • create

      static Injector create()
    • discover

      Injector discover(ClassLoader classLoader)
    • bindScope

      Injector bindScope(Class<? extends Annotation> scopeAnnotation, Scope scope)
    • bindImplicit

      Injector bindImplicit(Class<?> cls)
    • bindInstance

      <T> Injector bindInstance(Class<T> cls, T instance)
    • injectInstance

      <T> void injectInstance(T instance)
    • getInstance

      <T> T getInstance(Class<T> key)
    • getInstance

      <T> T getInstance(Key<T> key)