Package org.hibernate.tuple
Class PojoInstantiator
java.lang.Object
org.hibernate.tuple.PojoInstantiator
- All Implemented Interfaces:
Serializable,Instantiator
@Deprecated(since="6.0")
public class PojoInstantiator
extends Object
implements Instantiator, Serializable
Deprecated.
Defines a POJO-based instantiator for use from the tuplizers.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionPojoInstantiator(Class<?> componentClass, ReflectionOptimizer.InstantiationOptimizer optimizer) Deprecated.SeePojoInstantiatorPojoInstantiator(Class<?> mappedClass, ReflectionOptimizer.InstantiationOptimizer optimizer, boolean embeddedIdentifier) Deprecated.SeePojoInstantiatorPojoInstantiator(Component component, ReflectionOptimizer.InstantiationOptimizer optimizer) Deprecated.SeePojoInstantiator -
Method Summary
Modifier and TypeMethodDescriptionprotected ObjectapplyInterception(Object entity) Deprecated.Deprecated.Perform the requested instantiation.instantiate(Object id) Deprecated.Perform the requested entity instantiation.booleanisInstance(Object object) Deprecated.Performs check to see if the given object is an instance of the entity or component which this Instantiator instantiates.
-
Constructor Details
-
PojoInstantiator
@Deprecated(since="6.0") public PojoInstantiator(Class<?> mappedClass, ReflectionOptimizer.InstantiationOptimizer optimizer, boolean embeddedIdentifier) Deprecated.SeePojoInstantiator -
PojoInstantiator
@Deprecated(since="6.0") public PojoInstantiator(Component component, ReflectionOptimizer.InstantiationOptimizer optimizer) Deprecated.SeePojoInstantiator -
PojoInstantiator
@Deprecated(since="6.0") public PojoInstantiator(Class<?> componentClass, ReflectionOptimizer.InstantiationOptimizer optimizer) Deprecated.SeePojoInstantiator
-
-
Method Details
-
instantiate
Deprecated.Description copied from interface:InstantiatorPerform the requested instantiation.- Specified by:
instantiatein interfaceInstantiator- Returns:
- The instantiated data structure.
-
applyInterception
Deprecated. -
instantiate
Deprecated.Description copied from interface:InstantiatorPerform the requested entity instantiation.This form is never called for component instantiation, only entity instantiation.
- Specified by:
instantiatein interfaceInstantiator- Parameters:
id- The id of the entity to be instantiated.- Returns:
- An appropriately instantiated entity.
-
isInstance
Deprecated.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- Parameters:
object- The object to be checked.- Returns:
- True is the object does represent an instance of the underlying entity/component.
-
Instantiatoritself, deprecated.