T
- public class ResourceInjector<T> extends DefaultInjector<T>
Injector
that adds support for resource field and setter injection.DefaultInjector
Modifier | Constructor and Description |
---|---|
protected |
ResourceInjector(EnhancedAnnotatedType<T> type,
Bean<T> bean,
BeanManagerImpl beanManager) |
Modifier and Type | Method and Description |
---|---|
void |
inject(T instance,
CreationalContext<T> ctx,
BeanManagerImpl manager,
SlimAnnotatedType<T> type,
InjectionTarget<T> injectionTarget) |
static <T> ResourceInjector<T> |
of(EnhancedAnnotatedType<T> type,
Bean<T> bean,
BeanManagerImpl beanManager) |
getInitializerMethods, getInjectableFields, registerInjectionPoints
protected ResourceInjector(EnhancedAnnotatedType<T> type, Bean<T> bean, BeanManagerImpl beanManager)
public static <T> ResourceInjector<T> of(EnhancedAnnotatedType<T> type, Bean<T> bean, BeanManagerImpl beanManager)
public void inject(T instance, CreationalContext<T> ctx, BeanManagerImpl manager, SlimAnnotatedType<T> type, InjectionTarget<T> injectionTarget)
Copyright © 2014. All Rights Reserved.