public class InjectionPointFactory extends Object
InjectionPoint instances for fields, parameters, methods and constructors. The
ProcessInjectionPoint event is fired for each created injection point unless the silentInstance() is used.public static InjectionPointFactory instance()
InjectionPointFactory singleton.InjectionPointFactory singletonpublic static InjectionPointFactory silentInstance()
InjectionPointFactory instance that never produces a ProcessInjectionPoint event. This is used
for creating observer method injection points of extensions and proxy classes.InjectionPointFactory instanceprotected <T,X> FieldInjectionPointAttributes<T,X> processInjectionPoint(FieldInjectionPointAttributes<T,X> injectionPointAttributes, Class<?> declaringComponentClass, BeanManagerImpl manager)
InjectionPoint.protected <T,X> ParameterInjectionPointAttributes<T,X> processInjectionPoint(ParameterInjectionPointAttributes<T,X> injectionPointAttributes, Class<?> declaringComponentClass, BeanManagerImpl manager)
InjectionPoint.public <T,X> FieldInjectionPoint<T,X> createFieldInjectionPoint(EnhancedAnnotatedField<T,X> field, Bean<?> declaringBean, Class<?> declaringComponentClass, BeanManagerImpl manager)
FieldInjectionPoint and fires the ProcessInjectionPoint event.field - declaringBean - declaringComponentClass - used for resolution of type variables of the injection point typemanager - public <T,X> ParameterInjectionPoint<T,X> createParameterInjectionPoint(EnhancedAnnotatedParameter<T,X> parameter, Bean<?> declaringBean, Class<?> declaringComponentClass, BeanManagerImpl manager)
ParameterInjectionPoint and fires the ProcessInjectionPoint event.parameter - declaringBean - declaringComponentClass - used for resolution of type variables of the injection point typemanager - public <T> ConstructorInjectionPoint<T> createConstructorInjectionPoint(Bean<T> declaringBean, EnhancedAnnotatedType<T> type, BeanManagerImpl manager)
public <T> ConstructorInjectionPoint<T> createConstructorInjectionPoint(Bean<T> declaringBean, Class<?> declaringComponentClass, EnhancedAnnotatedConstructor<T> constructor, BeanManagerImpl manager)
public <T,X> MethodInjectionPoint<T,X> createMethodInjectionPoint(MethodInjectionPoint.MethodInjectionPointType methodInjectionPointType, EnhancedAnnotatedMethod<T,X> enhancedMethod, Bean<?> declaringBean, Class<?> declaringComponentClass, Class<? extends Annotation> specialParameterMarker, BeanManagerImpl manager)
public List<Set<FieldInjectionPoint<?,?>>> getFieldInjectionPoints(Bean<?> declaringBean, EnhancedAnnotatedType<?> type, BeanManagerImpl manager)
public <X> List<ParameterInjectionPoint<?,X>> getParameterInjectionPoints(EnhancedAnnotatedCallable<?,X,?> callable, Bean<?> declaringBean, Class<?> declaringComponentClass, BeanManagerImpl manager, boolean observerOrDisposer)
Copyright © 2015. All Rights Reserved.