Examples of XPDLValidatorSettings


Examples of org.enhydra.jawe.base.xpdlvalidator.XPDLValidatorSettings

                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");
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.