类 FallbackBeanInstanceProducer
- java.lang.Object
-
- org.hibernate.resource.beans.internal.FallbackBeanInstanceProducer
-
- 所有已实现的接口:
BeanInstanceProducer
public class FallbackBeanInstanceProducer extends Object implements BeanInstanceProducer
BeanInstanceProducer implementation based on direct instantiation In normal Hibernate use this is used when either: * there is no configured back-end container * the back-end container did not define a bean for this class- 作者:
- Steve Ebersole
-
-
字段概要
字段 修饰符和类型 字段 说明 static FallbackBeanInstanceProducerINSTANCESingleton access
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 <B> BproduceBeanInstance(Class<B> beanType)Produce a bean instance<B> BproduceBeanInstance(String name, Class<B> beanType)Produce a named bean instance
-
-
-
字段详细资料
-
INSTANCE
public static final FallbackBeanInstanceProducer INSTANCE
Singleton access
-
-
方法详细资料
-
produceBeanInstance
public <B> B produceBeanInstance(Class<B> beanType)
从接口复制的说明:BeanInstanceProducerProduce a bean instance- 指定者:
produceBeanInstance在接口中BeanInstanceProducer- 参数:
beanType- The Java type of bean to produce
-
produceBeanInstance
public <B> B produceBeanInstance(String name, Class<B> beanType)
从接口复制的说明:BeanInstanceProducerProduce a named bean instance- 指定者:
produceBeanInstance在接口中BeanInstanceProducer- 参数:
name- The bean namebeanType- The Java type that the produced bean should be typed as
-
-