This feature enables the creation of managed executors that allow applications to submit tasks to run concurrently, with thread context that is managed by the application server.It also enables the creation of managed thread factories to create threads that run with the threadcontext of the component that looks up the managed thread factory.
Enabling this feature
To enable the Concurrency Utilities for Java EE 1.0 feature, add the following element declaration into your server.xml
file, inside the featureManager
element:
<feature>concurrent-1.0</feature>
Feature configuration elements
Standard API packages provided by this feature
-
javax.enterprise.concurrent
Supported Java versions
-
JavaSE-1.8
-
JavaSE-11.0
-
JavaSE-17.0
-
JavaSE-21.0
-
JavaSE-23.0
Platform Versions
-
javaee-7.0
-
javaee-8.0
Features that enable this feature
Developing a feature that depends on this feature
If you are developing a feature that depends on this feature, include the following item in the Subsystem-Content
header in your feature manifest file.
com.ibm.websphere.appserver.concurrent-1.0; type="osgi.subsystem.feature"