Package org.hibernate.metamodel.spi
Interface EntityInstantiator
- All Superinterfaces:
Instantiator
- All Known Implementing Classes:
AbstractEntityInstantiatorPojo,EntityInstantiatorDynamicMap,EntityInstantiatorPojoOptimized,EntityInstantiatorPojoStandard
public interfaceEntityInstantiatorextendsInstantiator
Contract for instantiating entity values
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default booleancanBeInstantiated()Can this entity be instantiated?Objectinstantiate(SessionFactoryImplementor sessionFactory)Create an instance of managed entityMethods inherited from interface org.hibernate.metamodel.spi.Instantiator
isInstance,isSameClass
Method Detail
instantiate
Object instantiate(SessionFactoryImplementor sessionFactory)
Create an instance of managed entity
canBeInstantiated
default boolean canBeInstantiated()
Can this entity be instantiated?