Package org.hibernate.tuple.entity
Class PojoEntityInstantiator
- java.lang.Object
-
- org.hibernate.tuple.PojoInstantiator
-
- org.hibernate.tuple.entity.PojoEntityInstantiator
-
- All Implemented Interfaces:
java.io.Serializable,Instantiator
public class PojoEntityInstantiator extends PojoInstantiator
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PojoEntityInstantiator(EntityMetamodel entityMetamodel, PersistentClass persistentClass, ReflectionOptimizer.InstantiationOptimizer optimizer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.ObjectapplyInterception(java.lang.Object entity)booleanisInstance(java.lang.Object object)Performs check to see if the given object is an instance of the entity or component which this Instantiator instantiates.-
Methods inherited from class org.hibernate.tuple.PojoInstantiator
instantiate, instantiate
-
-
-
-
Constructor Detail
-
PojoEntityInstantiator
public PojoEntityInstantiator(EntityMetamodel entityMetamodel, PersistentClass persistentClass, ReflectionOptimizer.InstantiationOptimizer optimizer)
-
-
Method Detail
-
applyInterception
protected java.lang.Object applyInterception(java.lang.Object entity)
- Overrides:
applyInterceptionin classPojoInstantiator
-
isInstance
public boolean isInstance(java.lang.Object object)
Description copied from interface:InstantiatorPerforms check to see if the given object is an instance of the entity or component which this Instantiator instantiates.- Specified by:
isInstancein interfaceInstantiator- Overrides:
isInstancein classPojoInstantiator- Parameters:
object- The object to be checked.- Returns:
- True is the object does represent an instance of the underlying entity/component.
-
-