public class ListenerFactoryBeanManagerStandardImpl extends 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 iteration| Constructor and Description |
|---|
ListenerFactoryBeanManagerStandardImpl(BeanManager beanManager) |
| Modifier and Type | Method and Description |
|---|---|
<T> Listener<T> |
buildListener(Class<T> listenerClass) |
static ListenerFactoryBeanManagerStandardImpl |
fromBeanManagerReference(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(BeanManager beanManager)
public static ListenerFactoryBeanManagerStandardImpl fromBeanManagerReference(Object reference)
reference - The BeanManager referencepublic <T> Listener<T> buildListener(Class<T> listenerClass)
buildListener in interface ListenerFactorypublic void release()
release in interface ListenerFactoryCopyright © 2018 JBoss by Red Hat. All rights reserved.