public class ExecutorServiceFactory extends Object
ExecutorService
that shall be used outside of CDI
environment.Constructor and Description |
---|
ExecutorServiceFactory() |
Modifier and Type | Method and Description |
---|---|
static ExecutorRunnable |
buildRunable(javax.persistence.EntityManagerFactory emf,
ExecutorEventSupport eventSupport) |
static ExecutorRunnable |
buildRunable(ExecutorEventSupport eventSupport) |
static org.kie.api.executor.ExecutorService |
newExecutorService() |
static org.kie.api.executor.ExecutorService |
newExecutorService(javax.persistence.EntityManagerFactory emf) |
static void |
resetExecutorService(org.kie.api.executor.ExecutorService executorService) |
public static org.kie.api.executor.ExecutorService newExecutorService(javax.persistence.EntityManagerFactory emf)
public static org.kie.api.executor.ExecutorService newExecutorService()
public static void resetExecutorService(org.kie.api.executor.ExecutorService executorService)
public static ExecutorRunnable buildRunable(javax.persistence.EntityManagerFactory emf, ExecutorEventSupport eventSupport)
public static ExecutorRunnable buildRunable(ExecutorEventSupport eventSupport)
Copyright © 2001–2018 JBoss by Red Hat. All rights reserved.