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() |
MetaDataManager |
getMetaDataManager() |
PluginManager |
getPluginManager() |
TypeManager |
getTypeManager() |
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 © 2017. All rights reserved.