类 AbstractCdiBeanContainer
- java.lang.Object
-
- org.hibernate.resource.beans.container.spi.AbstractCdiBeanContainer
-
- 所有已实现的接口:
CdiBasedBeanContainer,BeanContainer,Stoppable
- 直接已知子类:
CdiBeanContainerDelayedAccessImpl,CdiBeanContainerExtendedAccessImpl,CdiBeanContainerImmediateAccessImpl
public abstract class AbstractCdiBeanContainer extends Object implements CdiBasedBeanContainer
- 作者:
- Steve Ebersole
-
-
嵌套类概要
-
从接口继承的嵌套类/接口 org.hibernate.resource.beans.container.spi.BeanContainer
BeanContainer.LifecycleOptions
-
-
构造器概要
构造器 构造器 说明 AbstractCdiBeanContainer()
-
方法概要
所有方法 实例方法 抽象方法 具体方法 修饰符和类型 方法 说明 protected 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 voidforEachBean(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)voidstop()Stop phase notification-
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
从接口继承的方法 org.hibernate.resource.beans.container.internal.CdiBasedBeanContainer
getUsableBeanManager
-
-
-
-
方法详细资料
-
getBean
public <B> ContainedBean<B> getBean(Class<B> beanType, BeanContainer.LifecycleOptions lifecycleOptions, BeanInstanceProducer fallbackProducer)
- 指定者:
getBean在接口中BeanContainer
-
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)
- 指定者:
getBean在接口中BeanContainer
-
createBean
protected abstract <B> ContainedBeanImplementor<B> createBean(String name, Class<B> beanType, BeanLifecycleStrategy lifecycleStrategy, BeanInstanceProducer fallbackProducer)
-
forEachBean
protected final void forEachBean(Consumer<ContainedBeanImplementor<?>> consumer)
-
-