Package org.hibernate.metamodel.internal
Class EntityInstantiatorPojoStandard
java.lang.Object
org.hibernate.metamodel.internal.AbstractPojoInstantiator
org.hibernate.metamodel.internal.AbstractEntityInstantiatorPojo
org.hibernate.metamodel.internal.EntityInstantiatorPojoStandard
- All Implemented Interfaces:
EntityInstantiator,Instantiator
Support for instantiating entity values as POJO representation
-
Constructor Summary
ConstructorsConstructorDescriptionEntityInstantiatorPojoStandard(EntityMetamodel entityMetamodel, PersistentClass persistentClass, JavaType<?> javaType) -
Method Summary
Modifier and TypeMethodDescriptionprotected ObjectapplyInterception(Object entity) booleanCan this entity be instantiated?Create an instance of managed entitybooleanisInstance(Object object) Performs and "instance of" check to see if the given object is an instance of managed structureprotected static Constructor<?> resolveConstructor(Class<?> mappedPojoClass) Methods inherited from class org.hibernate.metamodel.internal.AbstractEntityInstantiatorPojo
getLoadingInterceptorState, isApplyBytecodeInterceptionMethods inherited from class org.hibernate.metamodel.internal.AbstractPojoInstantiator
getMappedPojoClass, isAbstract, isSameClassMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.hibernate.metamodel.spi.Instantiator
isSameClass
-
Constructor Details
-
EntityInstantiatorPojoStandard
public EntityInstantiatorPojoStandard(EntityMetamodel entityMetamodel, PersistentClass persistentClass, JavaType<?> javaType)
-
-
Method Details
-
resolveConstructor
-
canBeInstantiated
public boolean canBeInstantiated()Description copied from interface:EntityInstantiatorCan this entity be instantiated? -
applyInterception
- Overrides:
applyInterceptionin classAbstractEntityInstantiatorPojo
-
isInstance
Description copied from interface:InstantiatorPerforms and "instance of" check to see if the given object is an instance of managed structure- Specified by:
isInstancein interfaceInstantiator- Overrides:
isInstancein classAbstractEntityInstantiatorPojo- See Also:
-
instantiate
Description copied from interface:EntityInstantiatorCreate an instance of managed entity
-