Package org.jbpm.process.audit

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


      } 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

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

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.