throws EnhancerFatalError, EnhancerUserException
{
super.init();
if (!options.classFileNames.isEmpty()
|| !options.archiveFileNames.isEmpty()) {
throw new EnhancerFatalError("Sorry, this test right now only support class name arguments, not class or archive files.");
}
affirm(classes != null);
try {
classLoader = classes.getClassLoader();
persistenceManagerClass
= classLoader.loadClass("javax.jdo.PersistenceManager");
instanceCallbacksClass
= classLoader.loadClass("javax.jdo.InstanceCallbacks");
persistenceCapableClass
= classLoader.loadClass("javax.jdo.spi.PersistenceCapable");
objectIdFieldSupplierClass
= classLoader.loadClass("javax.jdo.spi.PersistenceCapable$ObjectIdFieldSupplier");
objectIdFieldConsumerClass
= classLoader.loadClass("javax.jdo.spi.PersistenceCapable$ObjectIdFieldConsumer");
stateManagerClass
= classLoader.loadClass("javax.jdo.spi.StateManager");
} catch (Exception ex) {
throw new EnhancerFatalError(ex);
}
}