CloseableInjector

class CloseableInjector(injector: Injector) : Injector, AutoCloseable

Constructors

Link copied to clipboard
constructor(injector: Injector)

Functions

Link copied to clipboard
open override fun close()
Link copied to clipboard
open override fun createChildInjector(vararg modules: Module): Injector
open override fun createChildInjector(modules: MutableIterable<Module>): Injector
Link copied to clipboard
open override fun <T : Any> findBindingsByType(type: TypeLiteral<T>): MutableList<Binding<T>>
Link copied to clipboard
open override fun getAllBindings(): MutableMap<Key<*>, Binding<*>>
Link copied to clipboard
open override fun getAllMembersInjectorInjectionPoints(): MutableMap<TypeLiteral<*>, MutableList<InjectionPoint>>
Link copied to clipboard
open override fun <T : Any> getBinding(key: Key<T>): Binding<T>
open override fun <T : Any> getBinding(type: Class<T>): Binding<T>
Link copied to clipboard
open override fun getBindings(): MutableMap<Key<*>, Binding<*>>
Link copied to clipboard
open override fun getElements(): MutableList<Element>
Link copied to clipboard
open override fun <T : Any> getExistingBinding(key: Key<T>): Binding<T>
Link copied to clipboard
open override fun <T : Any> getInstance(key: Key<T>): T
open override fun <T : Any> getInstance(type: Class<T>): T
Link copied to clipboard
open override fun <T : Any> getMembersInjector(typeLiteral: TypeLiteral<T>): MembersInjector<T>
open override fun <T : Any> getMembersInjector(type: Class<T>): MembersInjector<T>
Link copied to clipboard
open override fun getParent(): Injector
Link copied to clipboard
open override fun <T : Any> getProvider(key: Key<T>): Provider<T>
open override fun <T : Any> getProvider(type: Class<T>): Provider<T>
Link copied to clipboard
open override fun getScopeBindings(): MutableMap<Class<out Annotation>, Scope>
Link copied to clipboard
open override fun getTypeConverterBindings(): MutableSet<TypeConverterBinding>
Link copied to clipboard
open override fun injectMembers(instance: Any)