Package org.hibernate.resource.beans.spi
Class ProvidedInstanceManagedBeanImpl<T>
- java.lang.Object
-
- org.hibernate.resource.beans.spi.ProvidedInstanceManagedBeanImpl<T>
-
- All Implemented Interfaces:
ManagedBean<T>
public class ProvidedInstanceManagedBeanImpl<T> extends Object implements ManagedBean<T>
ManagedBean
implementation for cases where we have been handed an actual instance to use.
-
-
Constructor Summary
Constructors Constructor Description ProvidedInstanceManagedBeanImpl(T instance)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Class<T>
getBeanClass()
The bean Java typeT
getBeanInstance()
The bean reference
-
-
-
Constructor Detail
-
ProvidedInstanceManagedBeanImpl
public ProvidedInstanceManagedBeanImpl(T instance)
-
-
Method Detail
-
getBeanClass
public Class<T> getBeanClass()
Description copied from interface:ManagedBean
The bean Java type- Specified by:
getBeanClass
in interfaceManagedBean<T>
-
getBeanInstance
public T getBeanInstance()
Description copied from interface:ManagedBean
The bean reference- Specified by:
getBeanInstance
in interfaceManagedBean<T>
-
-