Interface BeanContainer
- All Superinterfaces:
Stoppable
- All Known Implementing Classes:
AbstractCdiBeanContainer
Abstracts any kind of container for managed beans, for example,
the CDI
BeanManager
. A
custom bean container may be integrated with Hibernate by
implementing this interface and specifying the implementation
using "hibernate.resource.beans.container".- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescription<B> ContainedBean
<B> getBean
(Class<B> beanType, BeanContainer.LifecycleOptions lifecycleOptions, BeanInstanceProducer fallbackProducer) <B> ContainedBean
<B> getBean
(String name, Class<B> beanType, BeanContainer.LifecycleOptions lifecycleOptions, BeanInstanceProducer fallbackProducer)
-
Method Details
-
getBean
<B> ContainedBean<B> getBean(Class<B> beanType, BeanContainer.LifecycleOptions lifecycleOptions, BeanInstanceProducer fallbackProducer) -
getBean
<B> ContainedBean<B> getBean(String name, Class<B> beanType, BeanContainer.LifecycleOptions lifecycleOptions, BeanInstanceProducer fallbackProducer)
-