Package javax.enterprise.concurrent
package javax.enterprise.concurrent
Classes and interfaces for concurrent programming in Java EE™ applications.
-
ClassDescriptionException indicating that the result of a task cannot be retrieved because the task failed to run for some reason other than being cancelled.The ContextService provides methods for creating dynamic proxy objects (as defined by
java.lang.reflect.Proxy
) with the addition of context typically associated with applications executing in a Java™ EE environment.Contains information about the last execution of a task.Interface to be implemented by the Java™ EE product providers on threads that are created by callingThreadFactory.newThread(java.lang.Runnable)
.Utility methods for classes defined in this package.A manageable version of aExecutorService
.A manageable version of aScheduledExecutorService
.A task submitted to anManagedExecutorService
orManagedScheduledExecutorService
can optionally implement this interface to provide identifying information about the task, to provide aManagedTaskListener
to get notification of lifecycle events of the task, or to provide additional execution properties.A ManagedTaskListener is used to monitor the state of a task's Future.A manageable version of aThreadFactory
.Exception indicating that the result of a value-producing task cannot be retrieved because the task run was skipped.Triggers allow application developers to plug in rules for when and how often a task should run.