@Override
public Class<?> loadClass(String name) throws ClassNotFoundException {
return contextClassLoader.loadClass(name);
}
};
metadataProvider = new MetadataProviderImpl(cdoUnit.getTypes(), datastore);
try {
this.validatorFactory = Validation.buildDefaultValidatorFactory();
} catch (ValidationException e) {
LOGGER.debug("Cannot find validation provider.", e);
LOGGER.info("No JSR 303 Bean Validation provider available.");