Top Description Fields Constructors Methods
org.hibernate.metamodel.internal

public Class EntityInstantiatorPojoStandard

extends AbstractEntityInstantiatorPojo
Class Inheritance
Imports
java.lang.reflect.Constructor, org.hibernate.InstantiationException, .PropertyNotFoundException, org.hibernate.bytecode.enhance.spi.interceptor.LazyAttributeLoadingInterceptor, org.hibernate.engine.spi.SessionFactoryImplementor, org.hibernate.internal.CoreLogging, .CoreMessageLogger, org.hibernate.internal.util.ReflectHelper, org.hibernate.mapping.PersistentClass, org.hibernate.tuple.entity.EntityMetamodel, org.hibernate.type.descriptor.java.JavaType

Support for instantiating entity values as POJO representation

Field Summary

Modifier and TypeField and Description
private final boolean
private final Constructor<?>
private final EntityMetamodel
private static final CoreMessageLogger
private final Class<?>

Constructor Summary

AccessConstructor and Description
public
EntityInstantiatorPojoStandard(EntityMetamodel entityMetamodel, PersistentClass persistentClass, JavaType<?> javaType)

Deprecated as a consequence of EntityMetamodel being deprecated.

Method Summary

Modifier and TypeMethod and Description
protected Object
public boolean
canBeInstantiated()

Overrides default org.hibernate.metamodel.spi.EntityInstantiator.canBeInstantiated.

Can this entity be instantiated?
public Object
instantiate(SessionFactoryImplementor sessionFactory)

Implements org.hibernate.metamodel.spi.EntityInstantiator.instantiate.

Deprecated as a consequence of SessionFactoryImplementor being deprecated.
Create an instance of managed entity
public boolean
isInstance(Object object, SessionFactoryImplementor sessionFactory)

Overrides org.hibernate.metamodel.internal.AbstractEntityInstantiatorPojo.isInstance.

Implements org.hibernate.metamodel.spi.Instantiator.isInstance.

Deprecated as a consequence of SessionFactoryImplementor being deprecated.
Performs and "instance of" check to see if the given object is an instance of managed structure
protected static Constructor<?>
resolveConstructor(Class<?> mappedPojoClass)

Field Detail

applyBytecodeInterceptionback to summary
private final boolean applyBytecodeInterception

Hides org.hibernate.metamodel.internal.AbstractEntityInstantiatorPojo.applyBytecodeInterception.

constructorback to summary
private final Constructor<?> constructor
entityMetamodelback to summary
private final EntityMetamodel entityMetamodel

Hides org.hibernate.metamodel.internal.AbstractEntityInstantiatorPojo.entityMetamodel.

Deprecated

as a consequence of EntityMetamodel being deprecated. See corresponding docs for further information.

LOGback to summary
private static final CoreMessageLogger LOG
proxyInterfaceback to summary
private final Class<?> proxyInterface

Hides org.hibernate.metamodel.internal.AbstractEntityInstantiatorPojo.proxyInterface.

Constructor Detail

EntityInstantiatorPojoStandardback to summary
public EntityInstantiatorPojoStandard(EntityMetamodel entityMetamodel, PersistentClass persistentClass, JavaType<?> javaType)

Deprecated

as a consequence of EntityMetamodel being deprecated. See corresponding docs for further information.

Method Detail

applyInterceptionback to summary
protected Object applyInterception(Object entity)

Overrides org.hibernate.metamodel.internal.AbstractEntityInstantiatorPojo.applyInterception.

Annotations
@Override
canBeInstantiatedback to summary
public boolean canBeInstantiated()

Overrides default org.hibernate.metamodel.spi.EntityInstantiator.canBeInstantiated.

Doc from org.hibernate.metamodel.spi.EntityInstantiator.canBeInstantiated.

Can this entity be instantiated?

Annotations
@Override
instantiateback to summary
public Object instantiate(SessionFactoryImplementor sessionFactory)

Implements org.hibernate.metamodel.spi.EntityInstantiator.instantiate.

Doc from org.hibernate.metamodel.spi.EntityInstantiator.instantiate.

Deprecated

as a consequence of SessionFactoryImplementor being deprecated. See corresponding docs for further information.

Create an instance of managed entity

Annotations
@Override
isInstanceback to summary
public boolean isInstance(Object object, SessionFactoryImplementor sessionFactory)

Overrides org.hibernate.metamodel.internal.AbstractEntityInstantiatorPojo.isInstance.

Implements org.hibernate.metamodel.spi.Instantiator.isInstance.

Doc from org.hibernate.metamodel.spi.Instantiator.isInstance.

Deprecated

as a consequence of SessionFactoryImplementor being deprecated. See corresponding docs for further information.

Performs and "instance of" check to see if the given object is an instance of managed structure

Annotations
@Override
resolveConstructorback to summary
protected static Constructor<?> resolveConstructor(Class<?> mappedPojoClass)