final ThreadFactory threadFactory = new JBossThreadFactory(new ThreadGroup(getThreadGroupName()), Boolean.FALSE, null, "%G - %t", null, null, AccessController.getContext());
final ThreadPoolExecutor executorService = new ThreadPoolExecutor(POOL_CORE_SIZE, POOL_MAX_SIZE,
60L, TimeUnit.SECONDS, workQueue,
threadFactory);
// Allow the core threads to time out as well
executorService.allowCoreThreadTimeOut(true);
getExecutorInjector().inject(executorService);
}
}
/** {@inheritDoc} */