| Modifier and Type | Method and Description |
|---|---|
<T> T |
get(Class<T> type)
Returns a bean of given type
|
<T> javax.inject.Provider<T> |
getProvider(Class<T> type)
Returns a provider of given type
|
boolean |
isPostConstructProcessor(Class<? extends Annotation> annoClass)
Check if a supplied annotation class specifies a
PostConstructProcessor |
boolean |
isQualifier(Class<? extends Annotation> annoClass)
Check if a supplied annotation class is a
Qualifier |
boolean |
isScope(Class<? extends Annotation> annoClass)
Check if a supplied annotation class is a
Scope annotation |
<T> T get(Class<T> type)
Returns a bean of given type
type - the class of the beanT - generic type of the bean<T> javax.inject.Provider<T> getProvider(Class<T> type)
Returns a provider of given type
type - the class of the bean that provider providesT - the generic type of the beanboolean isQualifier(Class<? extends Annotation> annoClass)
Check if a supplied annotation class is a Qualifier
annoClass - true if the annotation type is a qualifier or false otherwiseboolean isPostConstructProcessor(Class<? extends Annotation> annoClass)
Check if a supplied annotation class specifies a PostConstructProcessor
annoClass - the annotation typetrue if the annotation type specifies post construct processorboolean isScope(Class<? extends Annotation> annoClass)
Check if a supplied annotation class is a Scope annotation
annoClass - the annotation typetrue if the annotation type indicate a scopeCopyright © 2017. All Rights Reserved.