public class PojoInstantiator extends Object implements Instantiator, Serializable
Constructor and Description |
---|
PojoInstantiator(Component component,
ReflectionOptimizer.InstantiationOptimizer optimizer) |
PojoInstantiator(EntityBinding entityBinding,
ReflectionOptimizer.InstantiationOptimizer optimizer) |
PojoInstantiator(PersistentClass persistentClass,
ReflectionOptimizer.InstantiationOptimizer optimizer) |
Modifier and Type | Method and Description |
---|---|
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.
|
public PojoInstantiator(Component component, ReflectionOptimizer.InstantiationOptimizer optimizer)
public PojoInstantiator(PersistentClass persistentClass, ReflectionOptimizer.InstantiationOptimizer optimizer)
public PojoInstantiator(EntityBinding entityBinding, ReflectionOptimizer.InstantiationOptimizer optimizer)
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.Copyright © 2001-2015 Red Hat, Inc. All Rights Reserved.