Class ManagedAsyncJobExecutor

  • All Implemented Interfaces:
    AsyncExecutor

    public class ManagedAsyncJobExecutor
    extends DefaultAsyncJobExecutor
    Simple JSR-236 async job executor to allocate threads through ManagedThreadFactory. Falls back to AsyncExecutor when a thread factory was not referenced in configuration. In Java EE 7, all application servers should provide access to a ManagedThreadFactory.
    • Field Detail

      • threadFactory

        protected javax.enterprise.concurrent.ManagedThreadFactory threadFactory
    • Constructor Detail

      • ManagedAsyncJobExecutor

        public ManagedAsyncJobExecutor()
    • Method Detail

      • getThreadFactory

        public javax.enterprise.concurrent.ManagedThreadFactory getThreadFactory()
      • setThreadFactory

        public void setThreadFactory​(javax.enterprise.concurrent.ManagedThreadFactory threadFactory)