Top Fields Constructors Methods
org.hibernate.tuple.entity

public Class PojoEntityInstantiator

extends PojoInstantiator
Class Inheritance
Imports
org.hibernate.bytecode.enhance.spi.interceptor.LazyAttributeLoadingInterceptor, org.hibernate.bytecode.spi.ReflectionOptimizer, org.hibernate.engine.internal.ManagedTypeHelper, org.hibernate.engine.spi.PersistentAttributeInterceptor, org.hibernate.mapping.PersistentClass, org.hibernate.tuple.PojoInstantiator

Author
Steve Ebersole

Field Summary

Modifier and TypeField and Description
private final boolean
private final EntityMetamodel
private final Class<T>

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
protected Object
public boolean
isInstance(Object
The object to be checked.
object
)

Overrides org.hibernate.tuple.PojoInstantiator.isInstance.

Implements org.hibernate.tuple.Instantiator.isInstance.

Performs check to see if the given object is an instance of the entity or component which this Instantiator instantiates.
Inherited from org.hibernate.tuple.PojoInstantiator:
instantiateinstantiate

Field Detail

applyBytecodeInterceptionback to summary
private final boolean applyBytecodeInterception
entityMetamodelback to summary
private final EntityMetamodel entityMetamodel
proxyInterfaceback to summary
private final Class<T> proxyInterface

Constructor Detail

PojoEntityInstantiatorback to summary
public PojoEntityInstantiator(EntityMetamodel entityMetamodel, PersistentClass persistentClass, ReflectionOptimizer.InstantiationOptimizer optimizer)

Method Detail

applyInterceptionback to summary
protected Object applyInterception(Object entity)

Overrides org.hibernate.tuple.PojoInstantiator.applyInterception.

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

Overrides org.hibernate.tuple.PojoInstantiator.isInstance.

Implements org.hibernate.tuple.Instantiator.isInstance.

Doc from org.hibernate.tuple.Instantiator.isInstance.

Performs check to see if the given object is an instance of the entity or component which this Instantiator instantiates.

Parameters
object:Object

The object to be checked.

Returns:boolean

True is the object does represent an instance of the underlying entity/component.

Annotations
@Override