Module org.eclipse.persistence.core
Class PersistenceObjectInstantiationPolicy
java.lang.Object
org.eclipse.persistence.internal.core.descriptors.CoreInstantiationPolicy
org.eclipse.persistence.internal.descriptors.InstantiationPolicy
org.eclipse.persistence.internal.descriptors.PersistenceObjectInstantiationPolicy
- All Implemented Interfaces:
Serializable
,Cloneable
Used with weaving to create "empty" instances without using reflection.
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionprotected PersistenceObject
The factory is an instance of the domain class.Fields inherited from class org.eclipse.persistence.internal.descriptors.InstantiationPolicy
descriptor, factoryClass, factoryClassName, factoryMethodName, method, methodName
-
Constructor Summary
ModifierConstructorDescriptionprotected
-
Method Summary
Modifier and TypeMethodDescriptionBuild and return a new instance, using the factoryMethods inherited from class org.eclipse.persistence.internal.descriptors.InstantiationPolicy
buildDefaultConstructor, buildDefaultConstructorFor, buildFactory, buildFactoryDefaultConstructor, buildFactoryUsingDefaultConstructor, buildFactoryUsingStaticMethod, buildMethod, buildNewInstanceUsingDefaultConstructor, buildNewInstanceUsingFactory, clone, convertClassNamesToClasses, getDefaultConstructor, getDescriptor, getFactory, getFactoryClass, getFactoryClassName, getFactoryMethodName, getMethod, getMethodName, initialize, initializeMethod, isUsingDefaultConstructor, setDefaultConstructor, setDescriptor, setFactory, setFactoryClass, setFactoryClassName, setFactoryMethodName, setMethod, setMethodName, toString, useDefaultConstructorInstantiationPolicy, useFactoryInstantiationPolicy, useFactoryInstantiationPolicy, useFactoryInstantiationPolicy, useFactoryInstantiationPolicy, useFactoryInstantiationPolicy, useMethodInstantiationPolicy
-
Field Details
-
factory
The factory is an instance of the domain class.
-
-
Constructor Details
-
PersistenceObjectInstantiationPolicy
protected PersistenceObjectInstantiationPolicy() -
PersistenceObjectInstantiationPolicy
-
-
Method Details
-
buildNewInstance
Build and return a new instance, using the factory- Overrides:
buildNewInstance
in classInstantiationPolicy
-