Class AbstractCdiBeanContainer
java.lang.Object
org.hibernate.resource.beans.container.spi.AbstractCdiBeanContainer
- All Implemented Interfaces:
CdiBasedBeanContainer
,BeanContainer
,Stoppable
- Direct Known Subclasses:
CdiBeanContainerDelayedAccessImpl
,CdiBeanContainerExtendedAccessImpl
,CdiBeanContainerImmediateAccessImpl
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.hibernate.resource.beans.container.spi.BeanContainer
BeanContainer.LifecycleOptions
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract <B> ContainedBeanImplementor<B>
createBean
(Class<B> beanType, BeanLifecycleStrategy lifecycleStrategy, BeanInstanceProducer fallbackProducer) protected abstract <B> ContainedBeanImplementor<B>
createBean
(String name, Class<B> beanType, BeanLifecycleStrategy lifecycleStrategy, BeanInstanceProducer fallbackProducer) protected final void
forEachBean
(Consumer<ContainedBeanImplementor<?>> consumer) <B> ContainedBean<B>
getBean
(Class<B> beanType, BeanContainer.LifecycleOptions lifecycleOptions, BeanInstanceProducer fallbackProducer) <B> ContainedBean<B>
getBean
(String beanName, Class<B> beanType, BeanContainer.LifecycleOptions lifecycleOptions, BeanInstanceProducer fallbackProducer) final void
stop()
Stop phase notificationMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.hibernate.resource.beans.container.internal.CdiBasedBeanContainer
getUsableBeanManager
-
Constructor Details
-
AbstractCdiBeanContainer
public AbstractCdiBeanContainer()
-
-
Method Details
-
getBean
public <B> ContainedBean<B> getBean(Class<B> beanType, BeanContainer.LifecycleOptions lifecycleOptions, BeanInstanceProducer fallbackProducer) - Specified by:
getBean
in interfaceBeanContainer
-
createBean
protected abstract <B> ContainedBeanImplementor<B> createBean(Class<B> beanType, BeanLifecycleStrategy lifecycleStrategy, BeanInstanceProducer fallbackProducer) -
getBean
public <B> ContainedBean<B> getBean(String beanName, Class<B> beanType, BeanContainer.LifecycleOptions lifecycleOptions, BeanInstanceProducer fallbackProducer) - Specified by:
getBean
in interfaceBeanContainer
-
createBean
protected abstract <B> ContainedBeanImplementor<B> createBean(String name, Class<B> beanType, BeanLifecycleStrategy lifecycleStrategy, BeanInstanceProducer fallbackProducer) -
forEachBean
-
stop
public final void stop()Description copied from interface:Stoppable
Stop phase notification
-