public interface NucleusContext
Modifier and Type | Method and Description |
---|---|
void |
applyDefaultProperties(Configuration conf)
Method called when initialising the Configuration to load up defaults for the properties appropriate for this NucleusContext.
|
void |
close()
Clear out resources for the supported services.
|
ApiAdapter |
getApiAdapter() |
String |
getApiName()
Accessor for the name of the API (JDO, JPA, etc).
|
ClassLoaderResolver |
getClassLoaderResolver(ClassLoader primaryLoader)
Accessor for a ClassLoaderResolver to use in resolving classes.
|
Configuration |
getConfiguration()
Accessor for the overall configuration for DataNucleus.
|
MetaDataManager |
getMetaDataManager()
Accessor for the manager for persistence metadata information.
|
PluginManager |
getPluginManager()
Accessor for the manager for DataNucleus plugins.
|
TypeManager |
getTypeManager()
Accessor for manager for java types.
|
void |
initialise()
Method to initialise the context for use.
|
boolean |
supportsORMMetaData() |
void applyDefaultProperties(Configuration conf)
conf
- The configurationvoid initialise()
void close()
ApiAdapter getApiAdapter()
String getApiName()
Configuration getConfiguration()
PluginManager getPluginManager()
MetaDataManager getMetaDataManager()
TypeManager getTypeManager()
ClassLoaderResolver getClassLoaderResolver(ClassLoader primaryLoader)
primaryLoader
- Loader to use as the primary loader (or null)boolean supportsORMMetaData()
Copyright © 2019. All rights reserved.