Class ManagedAsyncJobExecutor

All Implemented Interfaces:
AsyncExecutor

@Deprecated public class ManagedAsyncJobExecutor extends DefaultAsyncJobExecutor
Deprecated.
The factory should be configured in the engine configuration
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.
Author:
Dimitris Mandalidis
  • Field Details

    • threadFactory

      protected jakarta.enterprise.concurrent.ManagedThreadFactory threadFactory
      Deprecated.
  • Constructor Details

    • ManagedAsyncJobExecutor

      public ManagedAsyncJobExecutor()
      Deprecated.
  • Method Details

    • getThreadFactory

      public jakarta.enterprise.concurrent.ManagedThreadFactory getThreadFactory()
      Deprecated.
    • setThreadFactory

      public void setThreadFactory(jakarta.enterprise.concurrent.ManagedThreadFactory threadFactory)
      Deprecated.
    • initAsyncJobExecutionThreadPool

      protected void initAsyncJobExecutionThreadPool()
      Deprecated.
      Overrides:
      initAsyncJobExecutionThreadPool in class DefaultAsyncJobExecutor