Class ResourceInjector<T>
- java.lang.Object
-
- org.jboss.weld.injection.producer.DefaultInjector<T>
-
- org.jboss.weld.injection.producer.ResourceInjector<T>
-
- Type Parameters:
T-
- All Implemented Interfaces:
Injector<T>
public class ResourceInjector<T> extends DefaultInjector<T>
Injectorthat adds support for resource field and setter injection.- Author:
- Jozef Hartinger, Martin Kouba
- See Also:
DefaultInjector
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedResourceInjector(EnhancedAnnotatedType<T> type, Bean<T> bean, BeanManagerImpl beanManager)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidinject(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)-
Methods inherited from class org.jboss.weld.injection.producer.DefaultInjector
getInitializerMethods, getInjectableFields, registerInjectionPoints
-
-
-
-
Constructor Detail
-
ResourceInjector
protected ResourceInjector(EnhancedAnnotatedType<T> type, Bean<T> bean, BeanManagerImpl beanManager)
-
-
Method Detail
-
of
public static <T> ResourceInjector<T> of(EnhancedAnnotatedType<T> type, Bean<T> bean, BeanManagerImpl beanManager)
-
inject
public void inject(T instance, CreationalContext<T> ctx, BeanManagerImpl manager, SlimAnnotatedType<T> type, InjectionTarget<T> injectionTarget)
-
-