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
ConstructorDescriptionInjecteeSkippingAnalyzer
(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> Method
getPostConstructMethod
(Class<T> type) <T> Method
getPreDestroyMethod
(Class<T> type)
-
Constructor Details
-
InjecteeSkippingAnalyzer
-
-
Method Details
-
getConstructor
public <T> Constructor<T> getConstructor(Class<T> type) throws MultiException, NoSuchMethodException - Specified by:
getConstructor
in interfaceClassAnalyzer
- Throws:
MultiException
NoSuchMethodException
-
getInitializerMethods
- Specified by:
getInitializerMethods
in interfaceClassAnalyzer
- Throws:
MultiException
-
getFields
- Specified by:
getFields
in interfaceClassAnalyzer
- Throws:
MultiException
-
getPostConstructMethod
- Specified by:
getPostConstructMethod
in interfaceClassAnalyzer
- Throws:
MultiException
-
getPreDestroyMethod
- Specified by:
getPreDestroyMethod
in interfaceClassAnalyzer
- Throws:
MultiException
-