Class EnhancementNucleusContextImpl

java.lang.Object
org.datanucleus.AbstractNucleusContext
org.datanucleus.enhancer.EnhancementNucleusContextImpl
All Implemented Interfaces:
NucleusContext

public class EnhancementNucleusContextImpl extends AbstractNucleusContext
NucleusContext to use when enhancing. Just provides basic plugin, type and metadata services.
  • Constructor Details

    • EnhancementNucleusContextImpl

      public EnhancementNucleusContextImpl(String apiName, Map startupProps)
      Constructor for the context.
      Parameters:
      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)
    • EnhancementNucleusContextImpl

      public EnhancementNucleusContextImpl(String apiName, Map startupProps, PluginManager pluginMgr)
      Constructor for the context.
      Parameters:
      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)
  • Method Details