Package com.founder.fix.fixflow.core.scriptlanguage

Examples of com.founder.fix.fixflow.core.scriptlanguage.AbstractScriptLanguageMgmt


  /**
   * 拷贝对象
   */
  public  T  clone(){
   
    AbstractScriptLanguageMgmt scriptLanguageMgmt=Context.getAbstractScriptLanguageMgmt();
   
    T tObject=(T)scriptLanguageMgmt.executeBusinessRules(getCloneRuleId(), this);
 
    return tObject;
   
  }
View Full Code Here


  public static AbstractScriptLanguageMgmt getAbstractScriptLanguageMgmt() {
    Stack<AbstractScriptLanguageMgmt> stack = getStack(abstractScriptLanguageMgmtThreadLocal);
    if (stack.isEmpty()) {

      AbstractScriptLanguageMgmt abstractScriptLanguageMgmt = null;
      ScriptLanguageConfig scriptLanguageConfig = getProcessEngineConfiguration().getScriptLanguageConfig();
      for (ScriptLanguage scriptLanguage : scriptLanguageConfig.getScriptLanguage()) {
        if (scriptLanguage.getId().equals(scriptLanguageConfig.getSelected())) {
          abstractScriptLanguageMgmt = (AbstractScriptLanguageMgmt) ReflectUtil.instantiate(scriptLanguage.getClassImpl());
          break;
        }
      }

      Context.setAbstractScriptLanguageMgmt(abstractScriptLanguageMgmt.init());

      return abstractScriptLanguageMgmt;
    }
    return stack.peek();
  }
View Full Code Here

TOP

Related Classes of com.founder.fix.fixflow.core.scriptlanguage.AbstractScriptLanguageMgmt

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.