| Modifier and type | Action and description |
|---|---|
| T | getInstance(Key<T>) |
| T | getInstance(Class<T>) |
| jakarta.inject.Provider<T> | getJakartaProvider(Key<T>) |
| jakarta.inject.Provider<T> | getJakartaProvider(Class<T>) |
| java.util.List<E> | getKeysByType(Class<T>) |
| javax.inject.Provider<T> | getProvider(Key<T>)
Deprecated for removal since 0.15:
|
| javax.inject.Provider<T> | getProvider(Class<T>)
Deprecated for removal since 0.15:
|
| boolean | hasProvider(Key<T>) |
| boolean | hasProvider(Class<T>) |
| void | shutdown |
new(Injector,BQModule*)
def getInstance(Key<T>) : Twith T
throws io.bootique.di.DIRuntimeException
def getInstance(Class<T>) : Twith T
throws io.bootique.di.DIRuntimeException
def getJakartaProvider(Key<T>) : jakarta.inject.Provider<T>with T
throws io.bootique.di.DIRuntimeException
def getJakartaProvider(Class<T>) : jakarta.inject.Provider<T>with T
throws io.bootique.di.DIRuntimeException
def getKeysByType(Class<T>) : java.util.List<E>with T
def getProvider(Key<T>) : javax.inject.Provider<T>with T
throws io.bootique.di.DIRuntimeException
def getProvider(Class<T>) : javax.inject.Provider<T>with T
throws io.bootique.di.DIRuntimeException
def hasProvider(Key<T>) : booleanthrows io.bootique.di.DIRuntimeException
def hasProvider(Class<T>) : booleanthrows io.bootique.di.DIRuntimeException
def shutdown