Package org.hibernate.resource.beans.spi
Interface BeanInstanceProducer
-
public interface BeanInstanceProducerContract for producing a bean instance
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <B> BproduceBeanInstance(java.lang.Class<B> beanType)Produce a bean instance<B> BproduceBeanInstance(java.lang.String name, java.lang.Class<B> beanType)Produce a named bean instance
-
-
-
Method Detail
-
produceBeanInstance
<B> B produceBeanInstance(java.lang.Class<B> beanType)
Produce a bean instance- Parameters:
beanType- The Java type of bean to produce
-
produceBeanInstance
<B> B produceBeanInstance(java.lang.String name, java.lang.Class<B> beanType)Produce a named bean instance- Parameters:
name- The bean namebeanType- The Java type that the produced bean should be typed as
-
-