Package | Description |
---|---|
org.datanucleus.enhancer |
DataNucleus ByteCode enhancer framework.
|
Modifier and Type | Method and Description |
---|---|
DataNucleusEnhancer |
DataNucleusEnhancer.addClass(String className,
byte[] bytes)
Method to add the specified class (and its input bytes) to the list of classes to enhance.
|
DataNucleusEnhancer |
DataNucleusEnhancer.addClasses(String... classNames)
Method to add the specified classes to the list of classes to enhance.
|
DataNucleusEnhancer |
DataNucleusEnhancer.addFiles(String... filenames)
Method to add the specified files to the list of components to enhance.
|
DataNucleusEnhancer |
DataNucleusEnhancer.addJar(String jarFileName)
Method to add the classes defined by the specified jar to the list of components to enhance.
|
DataNucleusEnhancer |
DataNucleusEnhancer.addPersistenceUnit(PersistenceUnitMetaData pumd)
Method to add the classes defined by the persistence-unit to the list of classes to enhance.
|
DataNucleusEnhancer |
DataNucleusEnhancer.addPersistenceUnit(String persistenceUnitName)
Method to add the classes defined by the persistence-unit to the list of classes to enhance.
|
DataNucleusEnhancer |
DataNucleusEnhancer.setClassLoader(ClassLoader loader)
Method to set the class loader to use for loading the class(es) to be enhanced.
|
DataNucleusEnhancer |
DataNucleusEnhancer.setDetachListener(boolean flag)
Mutator for whether to allow generation of default constructor where needed.
|
DataNucleusEnhancer |
DataNucleusEnhancer.setGenerateConstructor(boolean flag)
Mutator for whether to allow generation of default constructor where needed.
|
DataNucleusEnhancer |
DataNucleusEnhancer.setGeneratePK(boolean flag)
Mutator for whether to allow generation of PKs where needed.
|
DataNucleusEnhancer |
DataNucleusEnhancer.setOutputDirectory(String dir)
Mutator for the output directory where any classes will be written.
|
DataNucleusEnhancer |
DataNucleusEnhancer.setSystemOut(boolean sysout)
Mutator for whether to output to system out.
|
DataNucleusEnhancer |
DataNucleusEnhancer.setVerbose(boolean verbose)
Mutator for the verbose flag
|
Copyright © 2019. All rights reserved.