Interface ExtendedBeanManager
This contract and the nested LifecycleListener contract represent the changes
we'd like to propose to the CDI spec. The idea being simply to allow contextual
registration of
BeanManager lifecycle callbacks
CDI integrations implement and supply this contract using
ManagedBeanSettings.JAKARTA_CDI_BEAN_MANAGER.
Hibernate registers a listener, which the integration invokes as the
underlying bean manager becomes available or is about to be destroyed.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceContract for things interested in receiving notifications of BeanManager lifecycle events. -
Method Summary
Modifier and TypeMethodDescriptionvoidregisterLifecycleListener(ExtendedBeanManager.LifecycleListener lifecycleListener) Register a BeanManager LifecycleListener
-
Method Details
-
registerLifecycleListener
Register a BeanManager LifecycleListener- Parameters:
lifecycleListener- The listener to register
-