Package org.fireflow.kernel.impl

Examples of org.fireflow.kernel.impl.NetInstance


        }
        String validateMsg =  workflowProcess.validate();//校验工作流定义是否有效
        if (validateMsg != null){
          throw new KernelException(null,null,validateMsg);
        }
        NetInstance netInstance = new NetInstance(workflowProcess, kernelExtensions);

        netInstance.setVersion(workflowDef.getVersion());//设置版本号
        //map的key的组成规则:流程定义ID_V_版本号
        netInstanceMap.put(workflowDef.getProcessId() + "_V_" + workflowDef.getVersion(), netInstance);

        return netInstance;
    }
View Full Code Here

TOP

Related Classes of org.fireflow.kernel.impl.NetInstance

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.