Package org.enhydra.jawe.base.controller

Examples of org.enhydra.jawe.base.controller.ControllerSettings


        xpdlHandler = createXPDLHandler(xpdlRHandler);
        loggingManager.info("JaWEManager -> Working with '" + xpdlHandler.getClass().getName() + "' implementation of XPDL Handler");

        try {
            ControllerSettings cs = (ControllerSettings) cl.loadClass(jcSettings).newInstance();
            cs.setPropertyMgr(propertyMgr);

            Constructor c = Class.forName(jcClass).getConstructor(new Class[]{
                        ControllerSettings.class
                    });
            jaweController = (JaWEController) c.newInstance(new Object[]{
                        cs
                    });
            jaweController.init();
            loggingManager.info("JaWEManager -> Working with '" + jcClass + "' implementation of JaWE Controller");
        } catch (Throwable ex) {
            jaweController = new JaWEController(new ControllerSettings());
            jaweController.init();
            if (JaWE.getJaWEVersion() != JaWE.COMMUNITY_VERSION) {
                String msg = "JaweManager -> Problems while instantiating JaWE Controller '" + jcClass + "' - using default implementation!";
                loggingManager.error(msg, ex);
            } else {
View Full Code Here

TOP

Related Classes of org.enhydra.jawe.base.controller.ControllerSettings

Copyright © 2018 www.massapicom. 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.