use of org.jbpm.process.core.timer.impl.ThreadPoolSchedulerService in project jbpm by kiegroup.
the class ConcurrentGlobalTimerServiceTest method setup.
@Before
public void setup() {
Properties properties = new Properties();
properties.setProperty("mary", "HR");
properties.setProperty("john", "HR");
userGroupCallback = new JBossUserGroupCallbackImpl(properties);
globalScheduler = new ThreadPoolSchedulerService(1);
emf = Persistence.createEntityManagerFactory("org.jbpm.test.persistence");
}
use of org.jbpm.process.core.timer.impl.ThreadPoolSchedulerService in project jbpm by kiegroup.
the class GlobalThreadPoolTimerServiceTest method setUp.
@Before
public void setUp() {
cleanupSingletonSessionId();
emf = Persistence.createEntityManagerFactory("org.jbpm.test.persistence");
globalScheduler = new ThreadPoolSchedulerService(1);
}
Aggregations