Examples of JPAWorkingMemoryDbLogger


Examples of org.jbpm.process.audit.JPAWorkingMemoryDbLogger

        Environment env = KnowledgeBaseFactory.newEnvironment();
        env.set(EnvironmentName.ENTITY_MANAGER_FACTORY, emf);
        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 {
View Full Code Here

Examples of org.jbpm.process.audit.JPAWorkingMemoryDbLogger

      } else {
        env = ksession.getEnvironment();
      }
      KnowledgeSessionConfiguration config = ksession.getSessionConfiguration();
      StatefulKnowledgeSession result = JPAKnowledgeService.loadStatefulKnowledgeSession(id, kbase, config, env);
      new JPAWorkingMemoryDbLogger(result);
      return result;
    } else {
      return ksession;
    }
  }
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.