public DataNucleusEnhancer(String apiName, String enhancerName, Properties props)
{
LOGGER.info(LOCALISER.msg("Enhancer.ClassEnhancer", enhancerName, apiName));
this.apiName = apiName;
this.enhancerName = enhancerName;
this.nucleusContext = new NucleusContext(apiName, NucleusContext.ContextType.ENHANCEMENT, props);
if (props != null)
{
// Superimpose any user-provided properties
nucleusContext.getPersistenceConfiguration().setPersistenceProperties(props);
}