| Package | Description | 
|---|---|
| javax.enterprise.concurrent | Classes and interfaces for concurrent programming in Java EE™ applications. | 
| Modifier and Type | Method and Description | 
|---|---|
| ManagedTaskListener | ManagedTask. getManagedTaskListener()The  ManagedTaskListenerto receive notification of lifecycle
 events of this task. | 
| Modifier and Type | Method and Description | 
|---|---|
| static <V> Callable<V> | ManagedExecutors. managedTask(Callable<V> task,
           ManagedTaskListener taskListener)Returns a  Callableobject that also implementsManagedTaskinterface so it can receive notification of lifecycle events with the
 providedManagedTaskListenerwhen the task is submitted 
 to aManagedExecutorServiceor aManagedScheduledExecutorService. | 
| static <V> Callable<V> | ManagedExecutors. managedTask(Callable<V> task,
           Map<String,String> executionProperties,
           ManagedTaskListener taskListener)Returns a  Callableobject that also implementsManagedTaskinterface so it can receive notification of lifecycle events with the
 providedManagedTaskListenerand to provide additional execution 
 properties when the task is submitted to aManagedExecutorServiceor aManagedScheduledExecutorService. | 
| static Runnable | ManagedExecutors. managedTask(Runnable task,
           ManagedTaskListener taskListener)Returns a  Runnableobject that also implementsManagedTaskinterface so it can receive notification of lifecycle events with the
 providedManagedTaskListenerwhen the task is submitted 
 to aManagedExecutorServiceor aManagedScheduledExecutorService. | 
| static Runnable | ManagedExecutors. managedTask(Runnable task,
           Map<String,String> executionProperties,
           ManagedTaskListener taskListener)Returns a  Runnableobject that also implementsManagedTaskinterface so it can receive notification of lifecycle events with the
 providedManagedTaskListenerand to provide additional execution 
 properties when the task is submitted to aManagedExecutorServiceor aManagedScheduledExecutorService. | 
Copyright © 1996-2013, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.