Top Description Inners Methods
org.hibernate.resource.beans.container.spi

public Interface ExtendedBeanManager

Imports
jakarta.enterprise.inject.spi.BeanManager

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
Author
Steve Ebersole

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static interface
ExtendedBeanManager.LifecycleListener

Contract for things interested in receiving notifications of BeanManager lifecycle events.

Method Summary

Modifier and TypeMethod and Description
public void
registerLifecycleListener(ExtendedBeanManager.LifecycleListener
The listener to register
lifecycleListener
)

Register a BeanManager LifecycleListener

Method Detail

registerLifecycleListenerback to summary
public void registerLifecycleListener(ExtendedBeanManager.LifecycleListener lifecycleListener)

Register a BeanManager LifecycleListener

Parameters
lifecycleListener:ExtendedBeanManager.LifecycleListener

The listener to register

org.hibernate.resource.beans.container.spi back to summary

public Interface ExtendedBeanManager.LifecycleListener

Known Direct Implementers
org.hibernate.resource.beans.container.internal.CdiBeanContainerExtendedAccessImpl

Contract for things interested in receiving notifications of BeanManager lifecycle events.

A "beanManagerDestroyed" notifications would probably also be generally useful, although we do not need it here and not sure WildFly can really tell us that reliably.

Method Summary

Modifier and TypeMethod and Description
public void
public void

Method Detail

beanManagerInitializedback to summary
public void beanManagerInitialized(BeanManager beanManager)
beforeBeanManagerDestroyedback to summary
public void beforeBeanManagerDestroyed(BeanManager beanManager)