Top Description Fields Constructors Methods
org.eclipse.persistence.internal.descriptors

public Class PersistenceObjectInstantiationPolicy

extends InstantiationPolicy
Class Inheritance

Used with weaving to create "empty" instances without using reflection.

Field Summary

Modifier and TypeField and Description
protected PersistenceObject
factory

Hides org.eclipse.persistence.internal.descriptors.InstantiationPolicy.factory.

The factory is an instance of the domain class.
Inherited from org.eclipse.persistence.internal.descriptors.InstantiationPolicy:
descriptorfactoryClassfactoryClassNamefactoryMethodNamemethodmethodName

Constructor Summary

AccessConstructor and Description
protected
public

Method Summary

Modifier and TypeMethod and Description
public Object
buildNewInstance()

Overrides org.eclipse.persistence.internal.descriptors.InstantiationPolicy.buildNewInstance.

Build and return a new instance, using the factory
Inherited from org.eclipse.persistence.internal.descriptors.InstantiationPolicy:
buildDefaultConstructorbuildDefaultConstructorForbuildFactorybuildFactoryDefaultConstructorbuildFactoryUsingDefaultConstructorbuildFactoryUsingStaticMethodbuildMethodbuildNewInstanceUsingDefaultConstructorbuildNewInstanceUsingFactorycloneconvertClassNamesToClassesgetDefaultConstructorgetDescriptorgetFactorygetFactoryClassgetFactoryClassNamegetFactoryMethodNamegetMethodgetMethodNameinitializeinitializeMethodisUsingDefaultConstructorsetDefaultConstructorsetDescriptorsetFactorysetFactoryClasssetFactoryClassNamesetFactoryMethodNamesetMethodsetMethodNametoStringuseDefaultConstructorInstantiationPolicyuseFactoryInstantiationPolicyuseFactoryInstantiationPolicyuseFactoryInstantiationPolicyuseFactoryInstantiationPolicyuseFactoryInstantiationPolicyuseMethodInstantiationPolicy

Field Detail

factoryback to summary
protected PersistenceObject factory

Hides org.eclipse.persistence.internal.descriptors.InstantiationPolicy.factory.

The factory is an instance of the domain class.

Constructor Detail

PersistenceObjectInstantiationPolicyback to summary
protected PersistenceObjectInstantiationPolicy()
PersistenceObjectInstantiationPolicyback to summary
public PersistenceObjectInstantiationPolicy(PersistenceObject factory)

Method Detail

buildNewInstanceback to summary
public Object buildNewInstance()

Overrides org.eclipse.persistence.internal.descriptors.InstantiationPolicy.buildNewInstance.

Build and return a new instance, using the factory

Annotations
@Override