| Package | Description | 
|---|---|
| org.datanucleus.enhancer | 
 
        DataNucleus ByteCode enhancer framework. 
 | 
| org.datanucleus.metadata | 
 
        Provides classes representing the MetaData for files, packages, classes, fields, containers, etc. 
 | 
| org.datanucleus.store | 
 Package handling the storage of classes to the datastore, and the management of the datastore. 
 | 
| Modifier and Type | Field and Description | 
|---|---|
protected ClassMetaData | 
ClassEnhancerImpl.cmd
MetaData for the class being enhanced. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
ClassMetaData | 
ClassEnhancer.getClassMetaData()
Accessor for the ClassMetaData for the class. 
 | 
ClassMetaData | 
ClassEnhancerImpl.getClassMetaData()  | 
| Modifier and Type | Method and Description | 
|---|---|
protected boolean | 
DataNucleusEnhancer.enhanceClass(ClassMetaData cmd,
            ClassEnhancer enhancer,
            boolean store)
Method to enhance the class defined by the MetaData. 
 | 
protected ClassEnhancer | 
DataNucleusEnhancer.getClassEnhancer(ClassMetaData cmd,
                byte[] bytes)
Method to return an instance of the ClassEnhancer for use with this class. 
 | 
protected Persistable | 
ImplementationCreatorImpl.newInstance(ClassMetaData cmd,
           ClassLoaderResolver clr)
Constructs an implementation for an abstract class and instantiates it. 
 | 
protected boolean | 
DataNucleusEnhancer.validateClass(ClassMetaData cmd,
             ClassEnhancer enhancer)
Method to validate the enhancement state of the class defined by the MetaData. 
 | 
| Constructor and Description | 
|---|
ClassEnhancerImpl(ClassMetaData cmd,
                 ClassLoaderResolver clr,
                 MetaDataManager mmgr,
                 EnhancementNamer namer)
Constructor for an enhancer for the class. 
 | 
ClassEnhancerImpl(ClassMetaData cmd,
                 ClassLoaderResolver clr,
                 MetaDataManager mmgr,
                 EnhancementNamer namer,
                 byte[] classBytes)
Constructor for an enhancer to enhance a class defined by the provided bytes. 
 | 
ImplementationGenerator(ClassMetaData cmd,
                       String implClassName,
                       MetaDataManager mmgr)
Constructor for an implementation of an abstract class. 
 | 
| Modifier and Type | Field and Description | 
|---|---|
protected List<ClassMetaData> | 
PackageMetaData.classes
List of classes (uses List to retain positioning). 
 | 
| Modifier and Type | Method and Description | 
|---|---|
ClassMetaData | 
PackageMetaData.addClass(ClassMetaData cmd)
Method to add a class Meta-Data to the package. 
 | 
ClassMetaData | 
PackageMetaData.getClass(int i)
Accessor for the Meta-Data of a class in this package. 
 | 
ClassMetaData | 
PackageMetaData.getClass(String name)
Accessor for the Meta-Data of a class with the specified name. 
 | 
ClassMetaData | 
FileMetaData.getClass(String pkg_name,
        String class_name)
Utility method to check if the MetaData for a class is contained in this file. 
 | 
ClassMetaData | 
MetaDataManager.getClassMetaDataForImplementationOfPersistentInterface(String interfaceName)
Accessor for the metadata for the implementation of the specified "persistent-interface". 
 | 
ClassMetaData | 
MetaDataManagerImpl.getClassMetaDataForImplementationOfPersistentInterface(String interfaceName)  | 
ClassMetaData | 
MetaDataManager.getMetaDataForImplementationOfReference(Class referenceClass,
                                       Object implValue,
                                       ClassLoaderResolver clr)
Accessor for the MetaData for an implementation of a reference type. 
 | 
ClassMetaData | 
MetaDataManagerImpl.getMetaDataForImplementationOfReference(Class referenceClass,
                                       Object implValue,
                                       ClassLoaderResolver clr)  | 
ClassMetaData | 
PackageMetaData.newClassMetadata(String className)
Method to create a new class metadata, add it, and return it. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
ClassMetaData | 
PackageMetaData.addClass(ClassMetaData cmd)
Method to add a class Meta-Data to the package. 
 | 
protected void | 
MetaDataManagerImpl.initialiseClassMetaData(ClassMetaData cmd,
                       Class cls,
                       ClassLoaderResolver clr)
Utility to initialise the MetaData for a class, using the specified
 class. 
 | 
void | 
MetaDataManager.registerImplementationOfAbstractClass(ClassMetaData cmd,
                                     Class implClass,
                                     ClassLoaderResolver clr)
Method to register the metadata for an implementation of a persistent abstract class. 
 | 
void | 
MetaDataManagerImpl.registerImplementationOfAbstractClass(ClassMetaData cmd,
                                     Class implClass,
                                     ClassLoaderResolver clr)  | 
| Constructor and Description | 
|---|
AbstractClassMetaData(ClassMetaData cmd,
                     String implClassName)
Constructor for creating the ClassMetaData for an implementation of a "persistent-abstract-class". 
 | 
ClassMetaData(ClassMetaData cmd,
             String implClassName)
Constructor for creating the ClassMetaData for an implementation of a "persistent-abstract-class". 
 | 
| Modifier and Type | Method and Description | 
|---|---|
protected StoreData | 
AbstractStoreManager.newStoreData(ClassMetaData cmd,
            ClassLoaderResolver clr)
Instantiate a StoreData instance using the provided ClassMetaData and ClassLoaderResolver. 
 | 
Copyright © 2018. All rights reserved.