T - public class DefaultInjector<T> extends java.lang.Object implements Injector<T>
Inject-annotated fields and calls CDI initializer methods.| Constructor and Description |
|---|
DefaultInjector(EnhancedAnnotatedType<T> type,
Bean<T> bean,
BeanManagerImpl beanManager) |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<java.util.Set<MethodInjectionPoint<?,?>>> |
getInitializerMethods() |
java.util.List<java.util.Set<FieldInjectionPoint<?,?>>> |
getInjectableFields() |
void |
inject(T instance,
CreationalContext<T> ctx,
BeanManagerImpl manager,
SlimAnnotatedType<T> type,
InjectionTarget<T> injectionTarget) |
static <T> DefaultInjector<T> |
of(EnhancedAnnotatedType<T> type,
Bean<T> bean,
BeanManagerImpl beanManager) |
void |
registerInjectionPoints(java.util.Set<InjectionPoint> injectionPoints)
Add field/parameter injection points to the set of injection points of an InjectionTarget.
|
public DefaultInjector(EnhancedAnnotatedType<T> type, Bean<T> bean, BeanManagerImpl beanManager)
public static <T> DefaultInjector<T> of(EnhancedAnnotatedType<T> type, Bean<T> bean, BeanManagerImpl beanManager)
public void registerInjectionPoints(java.util.Set<InjectionPoint> injectionPoints)
InjectorProducer.getInjectionPoints().registerInjectionPoints in interface Injector<T>public void inject(T instance, CreationalContext<T> ctx, BeanManagerImpl manager, SlimAnnotatedType<T> type, InjectionTarget<T> injectionTarget)
public java.util.List<java.util.Set<FieldInjectionPoint<?,?>>> getInjectableFields()
getInjectableFields in interface Injector<T>public java.util.List<java.util.Set<MethodInjectionPoint<?,?>>> getInitializerMethods()
getInitializerMethods in interface Injector<T>Copyright © 2014. All Rights Reserved.