public final class ResourceInjectionFactory extends Object implements Service, Iterable<ResourceInjectionProcessor<?,?>>
ResourceInjection instances for resource fields and setter methods.| Constructor and Description |
|---|
ResourceInjectionFactory() |
| Modifier and Type | Method and Description |
|---|---|
void |
addResourceInjectionProcessor(ResourceInjectionProcessor<?,?> processor) |
void |
cleanup()
Called by Weld when it is shutting down, allowing the service to perform any cleanup needed.
|
List<Set<ResourceInjection<?>>> |
getResourceInjections(Bean<?> declaringBean,
EnhancedAnnotatedType<?> type,
BeanManagerImpl manager) |
<T,X> ResourceInjection<T> |
getStaticProducerFieldResourceInjection(FieldInjectionPoint<T,X> fieldInjectionPoint,
BeanManagerImpl beanManager) |
Iterator<ResourceInjectionProcessor<?,?>> |
iterator() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic void addResourceInjectionProcessor(ResourceInjectionProcessor<?,?> processor)
public List<Set<ResourceInjection<?>>> getResourceInjections(Bean<?> declaringBean, EnhancedAnnotatedType<?> type, BeanManagerImpl manager)
declaringBean - type - manager - public <T,X> ResourceInjection<T> getStaticProducerFieldResourceInjection(FieldInjectionPoint<T,X> fieldInjectionPoint, BeanManagerImpl beanManager)
fieldInjectionPoint - beanManager - null if no such
resource injection existspublic void cleanup()
Servicepublic Iterator<ResourceInjectionProcessor<?,?>> iterator()
iterator in interface Iterable<ResourceInjectionProcessor<?,?>>Copyright © 2015. All Rights Reserved.