cristof commented on code in PR #329:
URL: https://github.com/apache/openjpa/pull/329#discussion_r4749284256
##########
openjpa-kernel/src/main/java/org/apache/openjpa/cdi/CDIBeanWrapperFactory.java:
##########
@@ -40,49 +47,126 @@
import jakarta.enterprise.inject.spi.InjectionPoint;
import jakarta.enterprise.inject.spi.InjectionTarget;
-public class EntityListenerCDIFactory implements EntityListenerFactory {
+public class CDIBeanWrapperFactory implements BeanWrapperFactory, Configurable
{
- private static final Localizer _loc =
Localizer.forPackage(EntityListenerCDIFactory.class);
+ private static final Localizer _loc =
Localizer.forPackage(CDIBeanWrapperFactory.class);
+
+ private Log _log;
- private static final int NORMAL_BEAN_CHECK_DEPTH = 2;
-
private BeanManager beanManager;
- private Map<Class<?>, EntityListenerWrapper<?>> cache = new
ConcurrentHashMap<>();
+ private Map<Class<?>, BeanWrapper<?>> convertersCache = new HashMap<>();
Review Comment:
My bad.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]