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

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

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

    Methods in javax.enterprise.concurrent that return ManagedTaskListener
    Modifier and Type | Method and Description
    --- | ---
    `ManagedTaskListener` | ManagedTask.`getManagedTaskListener()` The `ManagedTaskListener` to receive notification of lifecycle events of this task.

    Methods in javax.enterprise.concurrent with parameters of type ManagedTaskListener
    Modifier and Type | Method and Description
    --- | ---
    `static <V> Callable<V>` | ManagedExecutors.`managedTask(Callable<V> task, ManagedTaskListener taskListener)` Returns a `Callable` object that also implements `ManagedTask` interface so it can receive notification of lifecycle events with the provided `ManagedTaskListener` when the task is submitted to a `ManagedExecutorService` or a `ManagedScheduledExecutorService`.
    `static <V> Callable<V>` | ManagedExecutors.`managedTask(Callable<V> task, Map<String,String> executionProperties, ManagedTaskListener taskListener)` Returns a `Callable` object that also implements `ManagedTask` interface so it can receive notification of lifecycle events with the provided `ManagedTaskListener` and to provide additional execution properties when the task is submitted to a `ManagedExecutorService` or a `ManagedScheduledExecutorService`.
    `static Runnable` | ManagedExecutors.`managedTask(Runnable task, ManagedTaskListener taskListener)` Returns a `Runnable` object that also implements `ManagedTask` interface so it can receive notification of lifecycle events with the provided `ManagedTaskListener` when the task is submitted to a `ManagedExecutorService` or a `ManagedScheduledExecutorService`.
    `static Runnable` | ManagedExecutors.`managedTask(Runnable task, Map<String,String> executionProperties, ManagedTaskListener taskListener)` Returns a `Runnable` object that also implements `ManagedTask` interface so it can receive notification of lifecycle events with the provided `ManagedTaskListener` and to provide additional execution properties when the task is submitted to a `ManagedExecutorService` or a `ManagedScheduledExecutorService`.

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