Package org.hibernate.resource.beans.spi
Interface BeanInstanceProducer
-
- All Known Implementing Classes:
FallbackBeanInstanceProducer,TypeBeanInstanceProducer
public interface BeanInstanceProducerContract for producing a bean instance
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <B> BproduceBeanInstance(Class<B> beanType)Produce a bean instance<B> BproduceBeanInstance(String name, Class<B> beanType)Produce a named bean instance
-
-
-
Method Detail
-
produceBeanInstance
<B> B produceBeanInstance(Class<B> beanType)
Produce a bean instance- Parameters:
beanType- The Java type of bean to produce
-
-