|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.hibernate.tuple.PojoInstantiator
Defines a POJO-based instantiator for use from the tuplizers.
Constructor Summary | |
PojoInstantiator(Component component,
ReflectionOptimizer.InstantiationOptimizer optimizer)
|
|
PojoInstantiator(PersistentClass persistentClass,
ReflectionOptimizer.InstantiationOptimizer optimizer)
|
Method Summary | |
Object |
instantiate()
Perform the requested instantiation. |
Object |
instantiate(Serializable id)
Perform the requested entity instantiation. |
boolean |
isInstance(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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public PojoInstantiator(Component component, ReflectionOptimizer.InstantiationOptimizer optimizer)
public PojoInstantiator(PersistentClass persistentClass, ReflectionOptimizer.InstantiationOptimizer optimizer)
Method Detail |
public Object instantiate()
Instantiator
instantiate
in interface Instantiator
public Object instantiate(Serializable id)
Instantiator
instantiate
in interface Instantiator
id
- The id of the entity to be instantiated.
public boolean isInstance(Object object)
Instantiator
isInstance
in interface Instantiator
object
- The object to be checked.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |