Class CdiBeanContainerExtendedAccessImpl
- java.lang.Object
-
- org.hibernate.resource.beans.container.spi.AbstractCdiBeanContainer
-
- org.hibernate.resource.beans.container.internal.CdiBeanContainerExtendedAccessImpl
-
- All Implemented Interfaces:
CdiBasedBeanContainer
,BeanContainer
,ExtendedBeanManager.LifecycleListener
,Stoppable
public class CdiBeanContainerExtendedAccessImpl extends AbstractCdiBeanContainer implements ExtendedBeanManager.LifecycleListener
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.hibernate.resource.beans.container.spi.BeanContainer
BeanContainer.LifecycleOptions
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
beanManagerInitialized(BeanManager beanManager)
void
beforeBeanManagerDestroyed(BeanManager beanManager)
protected <B> ContainedBeanImplementor<B>
createBean(Class<B> beanType, BeanLifecycleStrategy lifecycleStrategy, BeanInstanceProducer fallbackProducer)
protected <B> ContainedBeanImplementor<B>
createBean(String name, Class<B> beanType, BeanLifecycleStrategy lifecycleStrategy, BeanInstanceProducer fallbackProducer)
BeanManager
getBeanManager()
BeanManager
getUsableBeanManager()
-
Methods inherited from class org.hibernate.resource.beans.container.spi.AbstractCdiBeanContainer
forEachBean, getBean, getBean, stop
-
-
-
-
Method Detail
-
createBean
protected <B> ContainedBeanImplementor<B> createBean(Class<B> beanType, BeanLifecycleStrategy lifecycleStrategy, BeanInstanceProducer fallbackProducer)
- Specified by:
createBean
in classAbstractCdiBeanContainer
-
createBean
protected <B> ContainedBeanImplementor<B> createBean(String name, Class<B> beanType, BeanLifecycleStrategy lifecycleStrategy, BeanInstanceProducer fallbackProducer)
- Specified by:
createBean
in classAbstractCdiBeanContainer
-
beanManagerInitialized
public void beanManagerInitialized(BeanManager beanManager)
- Specified by:
beanManagerInitialized
in interfaceExtendedBeanManager.LifecycleListener
-
beforeBeanManagerDestroyed
public void beforeBeanManagerDestroyed(BeanManager beanManager)
- Specified by:
beforeBeanManagerDestroyed
in interfaceExtendedBeanManager.LifecycleListener
-
getUsableBeanManager
public BeanManager getUsableBeanManager()
- Specified by:
getUsableBeanManager
in interfaceCdiBasedBeanContainer
-
getBeanManager
@Internal public BeanManager getBeanManager()
-
-