public class ListenerFactoryBeanManagerStandardImpl extends java.lang.Object implements ListenerFactory
ListenerFactoryBeanManagerExtendedImpl
for an alt implementation that
is still JPA compliant, but that works based on delayed CDI calls. Works
on a non-CDI-defined CDI extension; we plan to propose this extension to the
CDI expert group for the next CDI iterationConstructor and Description |
---|
ListenerFactoryBeanManagerStandardImpl(javax.enterprise.inject.spi.BeanManager beanManager) |
Modifier and Type | Method and Description |
---|---|
<T> Listener<T> |
buildListener(java.lang.Class<T> listenerClass) |
static ListenerFactoryBeanManagerStandardImpl |
fromBeanManagerReference(java.lang.Object reference)
Used via reflection from JpaIntegrator, the intent being to isolate CDI dependency
to just this class and its delegates in the case that a BeanManager is passed.
|
void |
release() |
public ListenerFactoryBeanManagerStandardImpl(javax.enterprise.inject.spi.BeanManager beanManager)
public static ListenerFactoryBeanManagerStandardImpl fromBeanManagerReference(java.lang.Object reference)
reference
- The BeanManager referencepublic <T> Listener<T> buildListener(java.lang.Class<T> listenerClass)
buildListener
in interface ListenerFactory
public void release()
release
in interface ListenerFactory
Copyright © 2001-2018 Red Hat, Inc. All Rights Reserved.