Class InjecteeSkippingAnalyzer
- java.lang.Object
-
- org.glassfish.jersey.ext.cdi1x.internal.InjecteeSkippingAnalyzer
-
- All Implemented Interfaces:
ClassAnalyzer
public final class InjecteeSkippingAnalyzer extends Object implements ClassAnalyzer
Class analyzer that ignores given injection points. Used for CDI integration, where we need to avoid HK2 replacing CDI injected entities.- Author:
- Jakub Podlesak
-
-
Field Summary
-
Fields inherited from interface org.glassfish.hk2.api.ClassAnalyzer
DEFAULT_IMPLEMENTATION_NAME
-
-
Constructor Summary
Constructors Constructor Description InjecteeSkippingAnalyzer(ClassAnalyzer defaultAnalyzer, Map<Class<?>,Set<Method>> methodsToSkip, Map<Class<?>,Set<Field>> fieldsToSkip, jakarta.enterprise.inject.spi.BeanManager beanManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> Constructor<T>getConstructor(Class<T> type)<T> Set<Field>getFields(Class<T> type)<T> Set<Method>getInitializerMethods(Class<T> type)<T> MethodgetPostConstructMethod(Class<T> type)<T> MethodgetPreDestroyMethod(Class<T> type)
-
-
-
Method Detail
-
getConstructor
public <T> Constructor<T> getConstructor(Class<T> type) throws MultiException, NoSuchMethodException
- Specified by:
getConstructorin interfaceClassAnalyzer- Throws:
MultiExceptionNoSuchMethodException
-
getInitializerMethods
public <T> Set<Method> getInitializerMethods(Class<T> type) throws MultiException
- Specified by:
getInitializerMethodsin interfaceClassAnalyzer- Throws:
MultiException
-
getFields
public <T> Set<Field> getFields(Class<T> type) throws MultiException
- Specified by:
getFieldsin interfaceClassAnalyzer- Throws:
MultiException
-
getPostConstructMethod
public <T> Method getPostConstructMethod(Class<T> type) throws MultiException
- Specified by:
getPostConstructMethodin interfaceClassAnalyzer- Throws:
MultiException
-
getPreDestroyMethod
public <T> Method getPreDestroyMethod(Class<T> type) throws MultiException
- Specified by:
getPreDestroyMethodin interfaceClassAnalyzer- Throws:
MultiException
-
-