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>
Injector
that adds support for resource field and setter injection.- Author:
- Jozef Hartinger, Martin Kouba
- See Also:
DefaultInjector
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
ResourceInjector(EnhancedAnnotatedType<T> type, Bean<T> bean, BeanManagerImpl beanManager)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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)
-
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)
-
-