Class FallbackContainedBean<B>
- java.lang.Object
-
- org.hibernate.resource.beans.container.spi.FallbackContainedBean<B>
-
- All Implemented Interfaces:
ContainedBean<B>
,ManagedBean<B>
public class FallbackContainedBean<B> extends Object implements ContainedBean<B>, ManagedBean<B>
-
-
Constructor Summary
Constructors Constructor Description FallbackContainedBean(Class<B> beanType, BeanInstanceProducer producer)
FallbackContainedBean(String beanName, Class<B> beanType, BeanInstanceProducer producer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Class<B>
getBeanClass()
The bean Java typeB
getBeanInstance()
Get the bean instance producer associated with this container-backed bean
-
-
-
Constructor Detail
-
FallbackContainedBean
public FallbackContainedBean(Class<B> beanType, BeanInstanceProducer producer)
-
FallbackContainedBean
public FallbackContainedBean(String beanName, Class<B> beanType, BeanInstanceProducer producer)
-
-
Method Detail
-
getBeanClass
public Class<B> getBeanClass()
Description copied from interface:ManagedBean
The bean Java type- Specified by:
getBeanClass
in interfaceManagedBean<B>
-
getBeanInstance
public B getBeanInstance()
Description copied from interface:ContainedBean
Get the bean instance producer associated with this container-backed bean- Specified by:
getBeanInstance
in interfaceContainedBean<B>
- Specified by:
getBeanInstance
in interfaceManagedBean<B>
-
-