org.jbpm.test
Class JBPMHelper

java.lang.Object
  extended by org.jbpm.test.JBPMHelper

public final class JBPMHelper
extends Object


Field Summary
static String[] processStateName
           
static String[] txStateName
           
 
Method Summary
protected static Environment createEnvironment(javax.persistence.EntityManagerFactory emf)
           
static Properties getProperties()
           
static StatefulKnowledgeSession loadStatefulKnowledgeSession(KnowledgeBase kbase, int sessionId)
           
static StatefulKnowledgeSession newStatefulKnowledgeSession(KnowledgeBase kbase)
           
static void registerTaskService(StatefulKnowledgeSession ksession)
           
static bitronix.tm.resource.jdbc.PoolingDataSource setupDataSource()
           
static org.h2.tools.Server startH2Server()
           
static TaskService startTaskService()
           
static void startUp()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

processStateName

public static String[] processStateName

txStateName

public static String[] txStateName
Method Detail

startUp

public static void startUp()

startH2Server

public static org.h2.tools.Server startH2Server()

setupDataSource

public static bitronix.tm.resource.jdbc.PoolingDataSource setupDataSource()

startTaskService

public static TaskService startTaskService()

registerTaskService

public static void registerTaskService(StatefulKnowledgeSession ksession)

createEnvironment

protected static Environment createEnvironment(javax.persistence.EntityManagerFactory emf)

newStatefulKnowledgeSession

public static StatefulKnowledgeSession newStatefulKnowledgeSession(KnowledgeBase kbase)

loadStatefulKnowledgeSession

public static StatefulKnowledgeSession loadStatefulKnowledgeSession(KnowledgeBase kbase,
                                                                    int sessionId)

getProperties

public static Properties getProperties()


Copyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.