Package org.jbpm.process.audit

Examples of org.jbpm.process.audit.JPAProcessInstanceDbLog


    processManager.newInstance("UserTask", variables);
  }

  @After
  public void clearProcesses() {
    new JPAProcessInstanceDbLog().clear();
    processManager = null;
  }
View Full Code Here


        env.set(EnvironmentName.TRANSACTION_MANAGER,
            TransactionManagerServices.getTransactionManager());
        StatefulKnowledgeSession result = JPAKnowledgeService.newStatefulKnowledgeSession(kbase, null, env);
        new JPAWorkingMemoryDbLogger(result);
        if (log == null) {
          log = new JPAProcessInstanceDbLog();
        }
        return result;
    } else {
      StatefulKnowledgeSession result = kbase.newStatefulKnowledgeSession();
      logger = new WorkingMemoryInMemoryLogger(result);
View Full Code Here

  }
 
  protected void clearHistory() {
    if (persistence) {
      if (log == null) {
        log = new JPAProcessInstanceDbLog();
      }
      log.clear();
    } else {
      logger.clear();
    }
View Full Code Here

TOP

Related Classes of org.jbpm.process.audit.JPAProcessInstanceDbLog

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.