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 {