public abstract class AbstractCdiBeanContainer extends Object implements 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
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getUsableBeanManager
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 © 2021 JBoss by Red Hat. All rights reserved.