public abstract class AbstractCdiBeanContainer extends Object implements org.hibernate.resource.beans.container.internal.CdiBasedBeanContainer
BeanContainer.LifecycleOptions
Constructor and Description |
---|
AbstractCdiBeanContainer() |
Modifier and Type | Method and Description |
---|---|
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 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) |
void |
stop()
Stop phase notification
|
public <B> ContainedBean<B> getBean(Class<B> beanType, BeanContainer.LifecycleOptions lifecycleOptions, BeanInstanceProducer fallbackProducer)
getBean
in interface BeanContainer
protected abstract <B> ContainedBeanImplementor<B> createBean(Class<B> beanType, BeanLifecycleStrategy lifecycleStrategy, BeanInstanceProducer fallbackProducer)
public <B> ContainedBean<B> getBean(String beanName, Class<B> beanType, BeanContainer.LifecycleOptions lifecycleOptions, BeanInstanceProducer fallbackProducer)
getBean
in interface BeanContainer
protected abstract <B> ContainedBeanImplementor<B> createBean(String name, Class<B> beanType, BeanLifecycleStrategy lifecycleStrategy, BeanInstanceProducer fallbackProducer)
protected final void forEachBean(Consumer<ContainedBeanImplementor<?>> consumer)
Copyright © 2001-2022 Red Hat, Inc. All Rights Reserved.