Class InjecteeSkippingAnalyzer
java.lang.Object
org.glassfish.jersey.ext.cdi1x.internal.InjecteeSkippingAnalyzer
- All Implemented Interfaces:
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
ConstructorsConstructorDescriptionInjecteeSkippingAnalyzer(ClassAnalyzer defaultAnalyzer, Map<Class<?>, Set<Method>> methodsToSkip, Map<Class<?>, Set<Field>> fieldsToSkip, jakarta.enterprise.inject.spi.BeanManager beanManager) -
Method Summary
Modifier and TypeMethodDescription<T> Constructor<T>getConstructor(Class<T> type) getInitializerMethods(Class<T> type) <T> MethodgetPostConstructMethod(Class<T> type) <T> MethodgetPreDestroyMethod(Class<T> type)
-
Constructor Details
-
InjecteeSkippingAnalyzer
-
-
Method Details
-
getConstructor
public <T> Constructor<T> getConstructor(Class<T> type) throws MultiException, NoSuchMethodException - Specified by:
getConstructorin interfaceClassAnalyzer- Throws:
MultiExceptionNoSuchMethodException
-
getInitializerMethods
- Specified by:
getInitializerMethodsin interfaceClassAnalyzer- Throws:
MultiException
-
getFields
- Specified by:
getFieldsin interfaceClassAnalyzer- Throws:
MultiException
-
getPostConstructMethod
- Specified by:
getPostConstructMethodin interfaceClassAnalyzer- Throws:
MultiException
-
getPreDestroyMethod
- Specified by:
getPreDestroyMethodin interfaceClassAnalyzer- Throws:
MultiException
-