registerServiceViaId(service, "workflowService", WorkflowService.class);
setupDomainsAndOtherServices();
}
private void setupTaskbox() {
DefaultPersistenceManager persistenceManager = new DefaultPersistenceManager();
persistenceManager.setPersistenceRootDir("target/" + UUID.randomUUID().toString());
TaskboxServiceImpl taskboxServiceImpl = new TaskboxServiceImpl();
taskboxServiceImpl.setPersistenceManager(persistenceManager);
taskboxServiceImpl.setBundleContext(bundleContext);
taskboxServiceImpl.init();
taskboxServiceImpl.setWorkflowService(service);