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 typeBgetBeanInstance()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: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>
-
-