loggingManager.info("JaWEManager -> Working with '" + StandardPanelValidator.class.getName() + "' implementation of Panel Validator");
}
}
try {
XPDLValidatorSettings xvs = (XPDLValidatorSettings) cl.loadClass(xpdlvSettings).newInstance();
xvs.setPropertyMgr(propertyMgr);
xvs.init(null);
Constructor c = Class.forName(xpdlvClass).getConstructor(new Class[]{
Properties.class
});
xpdlValidator = (StandardPackageValidator) c.newInstance(new Object[]{
xvs.getProperties()
});
loggingManager.info("JaWEManager -> Working with '" + xpdlvClass + "' implementation of XPDL Validator");
} catch (Throwable ex) {
XPDLValidatorSettings vs = new XPDLValidatorSettings();
vs.init(null);
xpdlValidator = new StandardPackageValidator(vs.getProperties());
if (JaWE.getJaWEVersion() != JaWE.COMMUNITY_VERSION) {
String msg = "JaweManager -> Problems while instantiating XPDL Validator class '" + xpdlvClass + "' - using default implementation!";
loggingManager.error(msg, ex);
} else {
loggingManager.info("JaWEManager -> Working with '" + StandardPackageValidator.class.getName() + "' implementation of XPDL Validator");