public class EnhancementNucleusContextImpl extends AbstractNucleusContext
apiAdapter, classLoaderResolverClassName, classLoaderResolverMap, config, metaDataManager, pluginManager, STARTUP_PROPERTIES, typeManager
Constructor and Description |
---|
EnhancementNucleusContextImpl(String apiName,
Map startupProps)
Constructor for the context.
|
EnhancementNucleusContextImpl(String apiName,
Map startupProps,
PluginManager pluginMgr)
Constructor for the context.
|
Modifier and Type | Method and Description |
---|---|
void |
close()
Clear out resources for the supported services.
|
protected void |
logConfigurationDetails()
Convenience method so that extending implementations can log their own configuration.
|
applyDefaultProperties, getApiAdapter, getApiName, getClassLoaderResolver, getConfiguration, getMetaDataManager, getPluginManager, getTypeManager, initialise, logConfiguration, supportsORMMetaData
public EnhancementNucleusContextImpl(String apiName, Map startupProps)
apiName
- Name of the API that we need a context for (JDO, JPA, etc)startupProps
- Any properties that could define behaviour of this context (plugin registry, class loading etc)public EnhancementNucleusContextImpl(String apiName, Map startupProps, PluginManager pluginMgr)
apiName
- Name of the API that we need a context for (JDO, JPA, etc)startupProps
- Any properties that could define behaviour of this context (plugin registry, class loading etc)pluginMgr
- Plugin Manager (or null if wanting it to be created)public void close()
NucleusContext
close
in interface NucleusContext
close
in class AbstractNucleusContext
protected void logConfigurationDetails()
AbstractNucleusContext
logConfigurationDetails
in class AbstractNucleusContext
Copyright © 2019. All rights reserved.