Package com.founder.fix.fixflow.core.impl.persistence.instance

Examples of com.founder.fix.fixflow.core.impl.persistence.instance.HistoryPersistence


  }
 
  @SuppressWarnings("unchecked")
  public Object execute(String execStatement,Object parameter){
    if("archive".equals(execStatement)){
      HistoryPersistence historyPersistence = ProcessObjectFactory.FACTORYINSTANCE.createHistoryPersistence(connection);
      Map<String,Object> paraMap = (Map<String,Object>)parameter;
      return historyPersistence.archive(paraMap);
    }
   
    return null;
  }
View Full Code Here


    ExpandClassConfig expandClassConfig=processEngineConfiguration.getExpandClassConfig();
    List<ExpandClass>  expandClasses=expandClassConfig.getExpandClass();
    for (ExpandClass expandClass : expandClasses) {
      if(expandClass.getClassId().equals("HistoryPersistence")){
        Object[] objTemp = new Object[] {connection}
        HistoryPersistence historyPersistence =(HistoryPersistence) ReflectUtil.instantiate(expandClass.getClassImpl(),objTemp);
        return historyPersistence;
      }
    }
    throw new FixFlowException("流程引擎扩展配置里的HistoryPersistence实现类指定错误");
  }
View Full Code Here

TOP

Related Classes of com.founder.fix.fixflow.core.impl.persistence.instance.HistoryPersistence

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.