S - C - processor contextpublic abstract class ResourceInjectionProcessor<S extends org.jboss.weld.bootstrap.api.Service,C> extends Object
| Constructor and Description |
|---|
ResourceInjectionProcessor() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
accept(javax.enterprise.inject.spi.AnnotatedMember<?> member,
C processorContext)
Allows an implementation to indicate whether it accepts a given injection point annotated with the marker annotation.
|
protected <T> Set<ResourceInjection<?>> |
createResourceInjections(javax.enterprise.inject.spi.Bean<?> declaringBean,
EnhancedAnnotatedType<T> type,
BeanManagerImpl manager) |
protected <T> Set<ResourceInjection<?>> |
createResourceInjections(Iterable<EnhancedAnnotatedField<?,? super T>> fields,
Iterable<EnhancedAnnotatedMethod<?,? super T>> methods,
javax.enterprise.inject.spi.Bean<?> declaringBean,
Class<?> declaringClass,
BeanManagerImpl manager) |
protected <T,X> ResourceInjection<T> |
createStaticProducerFieldResourceInjection(FieldInjectionPoint<T,X> fieldInjectionPoint,
BeanManagerImpl beanManager) |
protected abstract S |
getInjectionServices(BeanManagerImpl manager) |
Class<? extends Annotation> |
getMarkerAnnotation(BeanManagerImpl manager) |
protected abstract Class<? extends Annotation> |
getMarkerAnnotation(C processorContext) |
protected abstract C |
getProcessorContext(BeanManagerImpl manager) |
protected Type |
getResourceInjectionPointType(javax.enterprise.inject.spi.AnnotatedMember<?> member) |
protected abstract <T> org.jboss.weld.injection.spi.ResourceReferenceFactory<T> |
getResourceReferenceFactory(javax.enterprise.inject.spi.InjectionPoint injectionPoint,
S injectionServices,
C processorContext) |
protected <T,X> ResourceInjection<T> createStaticProducerFieldResourceInjection(FieldInjectionPoint<T,X> fieldInjectionPoint, BeanManagerImpl beanManager)
fieldInjectionPoint - beanManager - ResourceInjection for static producer field or null if required services are not supported or the field is not annotated
with the specific marker annotationStaticEEResourceProducerFieldprotected <T> Set<ResourceInjection<?>> createResourceInjections(javax.enterprise.inject.spi.Bean<?> declaringBean, EnhancedAnnotatedType<T> type, BeanManagerImpl manager)
declaringBean - type - manager - ResourceInjections for the specified bean and typepublic Class<? extends Annotation> getMarkerAnnotation(BeanManagerImpl manager)
protected abstract <T> org.jboss.weld.injection.spi.ResourceReferenceFactory<T> getResourceReferenceFactory(javax.enterprise.inject.spi.InjectionPoint injectionPoint, S injectionServices, C processorContext)
protected abstract Class<? extends Annotation> getMarkerAnnotation(C processorContext)
protected abstract C getProcessorContext(BeanManagerImpl manager)
protected abstract S getInjectionServices(BeanManagerImpl manager)
protected <T> Set<ResourceInjection<?>> createResourceInjections(Iterable<EnhancedAnnotatedField<?,? super T>> fields, Iterable<EnhancedAnnotatedMethod<?,? super T>> methods, javax.enterprise.inject.spi.Bean<?> declaringBean, Class<?> declaringClass, BeanManagerImpl manager)
protected boolean accept(javax.enterprise.inject.spi.AnnotatedMember<?> member,
C processorContext)
protected Type getResourceInjectionPointType(javax.enterprise.inject.spi.AnnotatedMember<?> member)
Copyright © 2017. All rights reserved.