## Uses of Interface
javax.enterprise.concurrent.ManagedExecutorService

- Packages that use ManagedExecutorService
  Package | Description
  --- | ---
  javax.enterprise.concurrent | Classes and interfaces for concurrent programming in Java EE™ applications.

- - ### Uses of ManagedExecutorService in javax.enterprise.concurrent

    Subinterfaces of ManagedExecutorService in javax.enterprise.concurrent
    Modifier and Type | Interface and Description
    --- | ---
    `interface` | `ManagedScheduledExecutorService` A manageable version of a `ScheduledExecutorService`.

    Methods in javax.enterprise.concurrent with parameters of type ManagedExecutorService
    Modifier and Type | Method and Description
    --- | ---
    `void` | ManagedTaskListener.`taskAborted(Future<?> future, ManagedExecutorService executor, Object task, Throwable exception)` Called when a task's Future has been cancelled anytime during the life of a task.
    `void` | ManagedTaskListener.`taskDone(Future<?> future, ManagedExecutorService executor, Object task, Throwable exception)` Called when a submitted task has completed running, either successfully or failed due to any exception thrown from the task, task being cancelled, rejected, or aborted.
    `void` | ManagedTaskListener.`taskStarting(Future<?> future, ManagedExecutorService executor, Object task)` This method is called before the task is about to start.
    `void` | ManagedTaskListener.`taskSubmitted(Future<?> future, ManagedExecutorService executor, Object task)` Called after the task has been submitted to the Executor.

Copyright © 1996-2013, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.