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 java.lang.Object implements ContainedBean<B>, ManagedBean<B>
-
-
Constructor Summary
Constructors Constructor Description FallbackContainedBean(java.lang.Class<B> beanType, BeanInstanceProducer producer)FallbackContainedBean(java.lang.String beanName, java.lang.Class<B> beanType, BeanInstanceProducer producer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Class<B>getBeanClass()The bean Java typeBgetBeanInstance()Get the bean instance producer associated with this container-backed bean
-
-
-
Constructor Detail
-
FallbackContainedBean
public FallbackContainedBean(java.lang.Class<B> beanType, BeanInstanceProducer producer)
-
FallbackContainedBean
public FallbackContainedBean(java.lang.String beanName, java.lang.Class<B> beanType, BeanInstanceProducer producer)
-
-
Method Detail
-
getBeanClass
public java.lang.Class<B> getBeanClass()
Description copied from interface:ManagedBeanThe bean Java type- Specified by:
getBeanClassin interfaceManagedBean<B>
-
getBeanInstance
public B getBeanInstance()
Description copied from interface:ContainedBeanGet the bean instance producer associated with this container-backed bean- Specified by:
getBeanInstancein interfaceContainedBean<B>- Specified by:
getBeanInstancein interfaceManagedBean<B>
-
-