Examples of WGWorkflowEngine


Examples of de.innovationgate.webgate.api.workflow.WGWorkflowEngine

        if (!WGWorkflowEngine.class.isAssignableFrom(engineClass)) {
            throw new WGConfigurationException("Workflow engine class " + engineClass.getName() + " does not implement " + WGWorkflowEngine.class.getName());
        }

        try {
            WGWorkflowEngine engine;
            if (WGFactory.getModuleRegistry() != null) {
                engine = (WGWorkflowEngine) WGFactory.getModuleRegistry().instantiate(engineClass);
            }
            else {
                engine = (WGWorkflowEngine) engineClass.newInstance();
            }
            engine.init(this);
            workflowEngine = engine;
           
        }
        catch (Exception e) {
            throw new WGConfigurationException("Exception initializing workflow engine " + engineClass.getName(), e);
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.