Concurrency Utilities for Java EE
CONCURRENCY - 1.0
Specification Assertion Detail

TotalsTotalActiveDeprecatedRemoved
# of Assertions 22022000
# of Required Assertions 21521500
# of Optional Assertions 5500

IDChapterSectionDescriptionRequiredDependencyImplementation SpecificDefined byStatusTestable
CONCURRENCY:SPEC:121By extending the java.util.concurrent API, application servers and Java EE containers can become aware of the resources that are used and provide the proper execution context for the asynchronous operations. This is largely achieved by providing managed versions of the predominant java.util.concurrent.ExecutorService interfaces. true
falsetechnologyactivetrue
CONCURRENCY:SPEC:222When using concurrency utilities such as those in java.util.concurrent, these context services need to be available. true
falsetechnologyactivetrue
CONCURRENCY:SPEC:323When using Java EE services from a non- container thread, the following behaviors are required:true
falsetechnologyactivetrue
CONCURRENCY:SPEC:3.123Saving the application component thread’s container context.true
falsetechnologyactivetrue
CONCURRENCY:SPEC:3.223Identifying which container contexts to save and propagate.true
falsetechnologyactivetrue
CONCURRENCY:SPEC:3.323Applying a container context to the current thread.true
falsetechnologyactivetrue
CONCURRENCY:SPEC:3.423Restoring original thread's context.true
falsetechnologyactivetrue
CONCURRENCY:SPEC:423The types of contexts to be propagated includetrue
falsetechnologyactivetrue
CONCURRENCY:SPEC:4.123JNDI naming context,true
falsetechnologyactivetrue
CONCURRENCY:SPEC:4.223classloader,true
falsetechnologyactivetrue
CONCURRENCY:SPEC:4.323and security information.true
falsetechnologyactivetrue
CONCURRENCY:SPEC:4.423Container must support propagation of these context types.true
falsetechnologyactivetrue
CONCURRENCY:SPEC:4.523In addition, containers can choose to support propagation of other types of context.true
falsetechnologyactivetrue
CONCURRENCY:SPEC:523Four new concurrency services (represented by four dark-gray rectangles) allow application components and Java EE Standard Services to run asynchronous tasks without violating container contracts. true
falsetechnologyactivetrue
CONCURRENCY:SPEC:623.1Container context and management constructs are propagated to component business logic at runtime using various invocation points on well-known interfaces. These invocation points or callback methods, here-by known as "tasks" will be referred to throughout the specification: true
falsetechnologyactivetrue
CONCURRENCY:SPEC:6.123.1java.util.concurrent.Callable - call()true
falsetechnologyactivetrue
CONCURRENCY:SPEC:6.223.1java.lang.Runnable - run()true
falsetechnologyactivetrue
CONCURRENCY:SPEC:723.1.1The following callback methods run with unspecified context by default, but may be configured as contextual invocation points if desired:true
falsetechnologyactivetrue
CONCURRENCY:SPEC:7.123.1.1javax.enterprise.concurrent.ManagedTaskListener - taskAborted()true
falsetechnologyactivetrue
CONCURRENCY:SPEC:7.223.1.1javax.enterprise.concurrent.ManagedTaskListener - taskSubmitted()true
falsetechnologyactivetrue
CONCURRENCY:SPEC:7.323.1.1javax.enterprise.concurrent.ManagedTaskListener - taskStarting()true
falsetechnologyactivetrue
CONCURRENCY:SPEC:7.423.1.1javax.enterprise.concurrent.Trigger - getNextRunTime()true
falsetechnologyactivetrue
CONCURRENCY:SPEC:7.523.1.1javax.enterprise.concurrent.Trigger - skipRun()true
falsetechnologyactivetrue
CONCURRENCY:SPEC:824This specification addresses the need for Java EE applications to run application business logic asynchronously usingtrue
falsetechnologyactivetrue
CONCURRENCY:SPEC:8.124a javax.enterprise.concurrent.ManagedExecutorServicetrue
falsetechnologyactivetrue
CONCURRENCY:SPEC:8.224or java.util.concurrent.ExecutorService with a javax.enterprise.concurrent.ManagedThreadFactory.true
falsetechnologyactivetrue
CONCURRENCY:SPEC:931.1Application Component Providers (application developers) use a ManagedExecutorService instance and associated interfaces to develop application components that utilize the concurrency functions that these interfaces provide. Instances for these objects are retrieved using the Java Naming and Directory Interface (JNDI) Naming Context or through injection of resource environment references. true
falsetechnologyactivetrue
CONCURRENCY:SPEC:1031.1The Application Component Provider may use resource environment references to obtain references to a ManagedExecutorService instance as follows: true
falsetechnologyactivetrue
CONCURRENCY:SPEC:10.131.1Assign an entry in the application component’s environment to the reference using the reference type of: javax.enterprise.concurrent.ManagedExecutorService. true
falsetechnologyactivetrue
CONCURRENCY:SPEC:10.231.1Look up the administered object in the application component’s environment using JNDI, or through resource injection by the use of the Resource annotation. true
falsetechnologyactivetrue
CONCURRENCY:SPEC:1131.1all ManagedExecutorService references should be bound in the java:comp/env/concurrent subcontext false
falsetechnologyactivetrue
CONCURRENCY:SPEC:1231.1Components create task classes by implementing the java.lang.Runnable or java.util.concurrent.Callable interfaces. true
falsetechnologyactivetrue
CONCURRENCY:SPEC:1331.1Task classes can optionally implement the javax.enterprise.concurrent.ManagedTask interfacetrue
falsetechnologyactivetrue
CONCURRENCY:SPEC:13.131.1to provide identity informationtrue
falsetechnologyactivetrue
CONCURRENCY:SPEC:13.231.1execution properties such as whether the task can be run in a remote processtrue
falsetechnologyactivetrue
CONCURRENCY:SPEC:13.331.1and to register a java.enterprise.concurrent.ManagedTaskListener instance to receive lifecycle events notifications. true
falsetechnologyactivetrue
CONCURRENCY:SPEC:1431.1Task instances are submitted to a ManagedExecutorService instance using any of the defined methods.true
falsetechnologyactivetrue
CONCURRENCY:SPEC:14.131.1submit()true
falsetechnologyactivetrue
CONCURRENCY:SPEC:14.231.1execute()true
falsetechnologyactivetrue
CONCURRENCY:SPEC:14.331.1invokeAll()true
falsetechnologyactivetrue
CONCURRENCY:SPEC:14.431.1invokeAny()true
falsetechnologyactivetrue
CONCURRENCY:SPEC:1531.1Task instances will run as an extension of the Java EE container instance that submitted the task as and may interact with Java EE resources as defined in other sections of this specification. true
falsetechnologyactivetrue
CONCURRENCY:SPEC:1631.4Java EE Product Providers may include other contexts (e.g. Locale) that may be propagated to a task or a thread that invokes the callback methods in the javax.enterprise.concurrent.ManagedTaskListener interface.true
falsetechnologyactivetrue
CONCURRENCY:SPEC:1731.4.1Each ManagedExecutorService may support one or more runtime behaviors as specified by configuration attributes.true
falsetechnologyactivetrue
CONCURRENCY:SPEC:1831.6A ManagedExecutorService instance is intended to be used by multiple components and applications.true
falsetechnologyactivetrue
CONCURRENCY:SPEC:1931.6When the executor runs a task, the context of the thread is changed to match the component instance that submitted the task.true
falsetechnologyactivetrue
CONCURRENCY:SPEC:2031.6The context is then restored when the task is complete.true
falsetechnologyactivetrue
CONCURRENCY:SPEC:2131.6ManagedExecutorService instances may be terminated or suspended by the application server when applications or components are stopped or the application server itself is shutting down. true
falsetechnologyactivetrue
CONCURRENCY:SPEC:2231.6.1All tasks, when executed from the ManagedExecutorService, will run with the Java EE component identity of the component that submitted the task. true
falsetechnologyactivetrue
CONCURRENCY:SPEC:2331.6.1All lifecycle operations on the ManagedExecutorService interface will throw a java.lang.IllegalStateException exception. true
falsetechnologyactivetrue
CONCURRENCY:SPEC:2431.6.1This includes the following methods that are defined in the java.util.concurrent.ExecutorService interface:true
falsetechnologyactivetrue
CONCURRENCY:SPEC:24.131.6.1awaitTermination()true
falsetechnologyactivetrue
CONCURRENCY:SPEC:24.231.6.1isShutdown()true
falsetechnologyactivetrue
CONCURRENCY:SPEC:24.331.6.1isTerminated()true
falsetechnologyactivetrue
CONCURRENCY:SPEC:24.431.6.1shutdown()true
falsetechnologyactivetrue
CONCURRENCY:SPEC:24.531.6.1shutdownNow()true
falsetechnologyactivetrue
CONCURRENCY:SPEC:2531.6.1No task submitted to an executor should run if task’s component is not started.true
falsetechnologyactivetrue
CONCURRENCY:SPEC:2631.6.1When a ManagedExecutorService instance is being shutdown by the Java EE Product Provider:true
falsetechnologyactivetrue
CONCURRENCY:SPEC:26.131.6.1All attempts to submit new tasks are rejected.true
falsetechnologyactivetrue
CONCURRENCY:SPEC:26.231.6.1All submitted tasks are cancelled if not running.true
falsetechnologyactivetrue
CONCURRENCY:SPEC:26.331.6.1All running task threads are interrupted.true
falsetechnologyactivetrue
CONCURRENCY:SPEC:26.431.6.1All registered ManagedTaskListeners are invoked.true
falsetechnologyactivetrue
CONCURRENCY:SPEC:2731.7ManagedExecutorService implementations must support the at-most-once quality of service.true
falsetechnologyactivetrue
CONCURRENCY:SPEC:2831.7Tasks submitted to an executor with this quality of service are transient in nature,true
falsetechnologyactivetrue
CONCURRENCY:SPEC:28.131.7are not persistedtrue
falsetechnologyactivetrue
CONCURRENCY:SPEC:28.231.7do not survive process restarts.true
falsetechnologyactivetrue
CONCURRENCY:SPEC:2931.7Other qualities of service are allowed, but are not addressed in this specification.false
falsetechnologyactivefalse
CONCURRENCY:SPEC:3031.8ManagedExecutorService implementations must support user-managed global transaction demarcation using the javax.transaction.UserTransaction interfacetrue
falsetechnologyactivetrue
CONCURRENCY:SPEC:3131.8Task implementations may optionallytrue
falsetechnologyactivetrue
CONCURRENCY:SPEC:31.131.8begin a transactiontrue
falsetechnologyactivetrue
CONCURRENCY:SPEC:31.231.8commit a transactiontrue
falsetechnologyactivetrue
CONCURRENCY:SPEC:31.331.8roll-back a transactiontrue
falsetechnologyactivetrue
CONCURRENCY:SPEC:3231.8.1The javax.transaction.UserTransaction interface must be made available in the local JNDI namespace as environment entry: java:comp/UserTransaction true
falsetechnologyactivetrue
CONCURRENCY:SPEC:3331.8.1All resource managers must enlist with a UserTransaction instance when a transaction is active using the begin() method. true
falsetechnologyactivetrue
CONCURRENCY:SPEC:3431.8.1The executor is responsible for coordinating commits and rollbacks when the transaction ends using commit() and rollback() methods. true
falsetechnologyactivetrue
CONCURRENCY:SPEC:3531.8.1A task instance that starts a transaction using the javax.transaction.UserTransaction instance but fails to complete the transaction is an error. The Java EE Product Provider is required to detect this error and abort the transaction..true
falsetechnologyactivetrue
CONCURRENCY:SPEC:3631.8.1A task must have the same ability to use transactions as the component submitting the tasks..true
falsetechnologyactivetrue
CONCURRENCY:SPEC:3731.8.2A task instance that starts a transaction must complete the transaction before starting a new transaction.true
falsetechnologyactivetrue
CONCURRENCY:SPEC:3831.8.2The task provider uses the javax.transaction.UserTransaction interface to demarcate transactions.true
falsetechnologyactivetrue
CONCURRENCY:SPEC:3931.8.2Transactions are demarcated using thetrue
falsetechnologyactivetrue
CONCURRENCY:SPEC:39.131.8.2begin() methods of the UserTransaction interface.true
falsetechnologyactivetrue
CONCURRENCY:SPEC:39.231.8.2commit() methods of the UserTransaction interface.true
falsetechnologyactivetrue
CONCURRENCY:SPEC:39.331.8.2rollback() methods of the UserTransaction interface.true
falsetechnologyactivetrue
CONCURRENCY:SPEC:4031.8.2While an instance is in an active transaction, resource-specific transaction demarcation APIs must not be used true
falsetechnologyactivetrue
CONCURRENCY:SPEC:4131.8.2The task instance must complete the transaction before the task method ends.true
falsetechnologyactivetrue
CONCURRENCY:SPEC:4232.1The Application Component Provider may use resource environment references to obtain references to a ManagedScheduledExecutorService instance as follows: true
falsetechnologyactivetrue
CONCURRENCY:SPEC:42.132.1Assign an entry in the application component’s environment to the reference using the reference type of: javax.enterprise.concurrent.ManagedScheduledExecutorService. true
falsetechnologyactivetrue
CONCURRENCY:SPEC:42.232.1Look up the administered object in the application component’s environment using JNDItrue
falsetechnologyactivetrue
CONCURRENCY:SPEC:42.332.1or through resource injection by the use of the Resource annotationtrue
falsetechnologyactivetrue
CONCURRENCY:SPEC:4332.1Components create task classes by implementing thetrue
falsetechnologyactivetrue
CONCURRENCY:SPEC:43.132.1java.lang.Runnable interfacestrue
falsetechnologyactivetrue
CONCURRENCY:SPEC:43.232.1java.util.concurrent.Callable interfacestrue
falsetechnologyactivetrue
CONCURRENCY:SPEC:4432.1Task instances are submitted to a ManagedScheduledExecutorService instance using any of the definedtrue
falsetechnologyactivetrue
CONCURRENCY:SPEC:44.132.1submit() methodstrue
falsetechnologyactivetrue
CONCURRENCY:SPEC:44.232.1execute() methodstrue
falsetechnologyactivetrue
CONCURRENCY:SPEC:44.332.1invokeAll() methodstrue
falsetechnologyactivetrue
CONCURRENCY:SPEC:44.432.1invokeAny() methodstrue
falsetechnologyactivetrue
CONCURRENCY:SPEC:44.532.1schedule() methodstrue
falsetechnologyactivetrue
CONCURRENCY:SPEC:44.632.1scheduleAtFixedRate() methodstrue
falsetechnologyactivetrue
CONCURRENCY:SPEC:44.732.1scheduleWithFixedDelay() methodstrue
falsetechnologyactivetrue
CONCURRENCY:SPEC:4532.1Task classes can optionally implement the javax.enterprise.concurrent.ManagedTask interface to providetrue
falsetechnologyactivetrue
CONCURRENCY:SPEC:45.132.1identity informationtrue
falsetechnologyactivetrue
CONCURRENCY:SPEC:45.232.1execution properties such as whether the task can be run in a remote processtrue
falsetechnologyactivetrue
CONCURRENCY:SPEC:45.332.1register a java.enterprise.concurrent.ManagedTaskListener instance to receive lifecycle events notificationstrue
falsetechnologyactivetrue
CONCURRENCY:SPEC:4632.4Java EE Product Providers may include other contexts that may be propagated totrue
falsetechnologyactivetrue
CONCURRENCY:SPEC:46.132.4a tasktrue
falsetechnologyactivetrue
CONCURRENCY:SPEC:46.232.4javax.enterprise.concurrent.ManagedTaskListener threadtrue
falsetechnologyactivetrue
CONCURRENCY:SPEC:4732.4ManagedScheduledExecutorService implementations may add any additional contexts and provide the means for configuration of those contexts in any way so long as these contexts do not violate the required aspects of this specificationtrue
falsetechnologyactivetrue
CONCURRENCY:SPEC:4832.4Each ManagedScheduledExecutorService may support one or more runtime behaviors as specified by configuration attributes.true
falsetechnologyactivetrue
CONCURRENCY:SPEC:4932.4.3The Java EE Product Provider must provide a preconfigured, default ManagedScheduledExecutorService for use by application components under the JNDI name java:comp/DefaultManagedScheduledExecutorService.true
falsetechnologyactivetrue
CONCURRENCY:SPEC:5032.4.3The types of contexts to be propagated by this default ManagedScheduledExecutorService must include naming context, class loader, and security information. true
falsetechnologyactivetrue
CONCURRENCY:SPEC:5132.6A ManagedScheduledExecutorService instance can be used by multiple components and applications.true
falsetechnologyactivetrue
CONCURRENCY:SPEC:5232.6When the executor runs a task, the context of the thread is changed to match the component instance that submitted the task. The context is then restored when the task is complete. true
falsetechnologyactivetrue
CONCURRENCY:SPEC:5332.6ManagedScheduledExecutorService instances may be terminated or suspended by the application server when applications or components are stopped or the application server itself is shutting down. true
falsetechnologyactivetrue
CONCURRENCY:SPEC:5432.6.1All tasks, when executed from the ManagedScheduledExecutorService, will run with the context of the application component that submitted the task. true
falsetechnologyactivetrue
CONCURRENCY:SPEC:5532.6.1The lifecycle of a ManagedScheduledExecutorService is managed by an application server.false
falsetechnologyactivefalse
CONCURRENCY:SPEC:5632.6.1All lifecycle operations on the ManagedScheduledExecutorService interface will throw a java.lang.IllegalStateException exception. true
falsetechnologyactivetrue
CONCURRENCY:SPEC:5732.6.1This includes the following methods that are defined in the java.util.concurrent.ExecutorService interface:true
falsetechnologyactivetrue
CONCURRENCY:SPEC:57.132.6.1awaitTermination()true
falsetechnologyactivetrue
CONCURRENCY:SPEC:57.232.6.1isShutdown()true
falsetechnologyactivetrue
CONCURRENCY:SPEC:57.332.6.1isTerminated()true
falsetechnologyactivetrue
CONCURRENCY:SPEC:57.432.6.1shutdown()true
falsetechnologyactivetrue
CONCURRENCY:SPEC:57.532.6.1shutdownNow()true
falsetechnologyactivetrue
CONCURRENCY:SPEC:5832.6.1All tasks submitted to an executor should not run if task’s component is not started.true
falsetechnologyactivetrue
CONCURRENCY:SPEC:5932.6.1When a ManagedScheduledExecutorService instance is being shutdown by the Java EE Product Provider:true
falsetechnologyactivetrue
CONCURRENCY:SPEC:59.132.6.1All attempts to submit new tasks are rejected.true
falsetechnologyactivetrue
CONCURRENCY:SPEC:59.232.6.1All submitted tasks are cancelled if not running.true
falsetechnologyactivetrue
CONCURRENCY:SPEC:59.332.6.1All running task threads are interrupted.true
falsetechnologyactivetrue
CONCURRENCY:SPEC:59.432.6.1All registered ManagedTaskListeners are invoked.true
falsetechnologyactivetrue
CONCURRENCY:SPEC:6032.7ManagedExecutorService implementations must support the at-most-once quality of service.true
falsetechnologyactivetrue
CONCURRENCY:SPEC:6132.7Tasks submitted to an executor with this quality of service are transient in nature,true
falsetechnologyactivetrue
CONCURRENCY:SPEC:61.132.7are not persistedtrue
falsetechnologyactivetrue
CONCURRENCY:SPEC:61.232.7do not survive process restarts.true
falsetechnologyactivetrue
CONCURRENCY:SPEC:6232.7Other qualities of service are allowed, but are not addressed in this specification.false
falsetechnologyactivefalse
CONCURRENCY:SPEC:6332.8ManagedScheduledExecutorService implementations must support user-managed global transaction demarcation using the javax.transaction.UserTransaction interfacetrue
falsetechnologyactivetrue
CONCURRENCY:SPEC:6432.8Task implementations may optionallytrue
falsetechnologyactivetrue
CONCURRENCY:SPEC:64.132.8begin a transactiontrue
falsetechnologyactivetrue
CONCURRENCY:SPEC:64.232.8commit a transactiontrue
falsetechnologyactivetrue
CONCURRENCY:SPEC:64.332.8roll-back a transactiontrue
falsetechnologyactivetrue
CONCURRENCY:SPEC:6532.8.1The javax.transaction.UserTransaction interface must be made available in the local JNDI namespace as environment entry: java:comp/UserTransaction true
falsetechnologyactivetrue
CONCURRENCY:SPEC:6632.8.1All resource managers must enlist with a UserTransaction instance when a transaction is active using the begin() method. true
falsetechnologyactivetrue
CONCURRENCY:SPEC:6732.8.1The executor is responsible for coordinating commits and rollbacks when the transaction ends using commit() and rollback() methods. true
falsetechnologyactivetrue
CONCURRENCY:SPEC:6832.8.1A task instance that starts a transaction using the javax.transaction.UserTransaction instance but fails to complete the transaction is an error. The Java EE Product Provider is required to detect this error and abort the transaction.true
falsetechnologyactivetrue
CONCURRENCY:SPEC:6932.8.1A task must have the same ability to use transactions as the component submitting the taskstrue
falsetechnologyactivetrue
CONCURRENCY:SPEC:7032.8.2A task instance that starts a transaction must complete the transaction before starting a new transaction.true
falsetechnologyactivetrue
CONCURRENCY:SPEC:7132.8.2The task provider uses the javax.transaction.UserTransaction interface to demarcate transactions.true
falsetechnologyactivetrue
CONCURRENCY:SPEC:7232.8.2Transactions are demarcated using the begin(), commit() and rollback() methods of the UserTransaction interface. true
falsetechnologyactivetrue
CONCURRENCY:SPEC:7332.8.2While an instance is in an active transaction, resource-specific transaction demarcation APIs must not be used true
falsetechnologyactivetrue
CONCURRENCY:SPEC:7433When used in conjunction with a ManagedThreadFactory, customized Java SE platform ExecutorService implementations can be used.true
falsetechnologyactivetrue
CONCURRENCY:SPEC:7533The ContextService also allows non-Java EE service callbacks (such as JMS MessageListeners and JMX NotificationListeners) to run in the context of the listener registrant instead of the implementation provider's undefined thread context.true
falsetechnologyactivetrue
CONCURRENCY:SPEC:7633.1The Application Component Provider may use resource environment references to obtain references to a ContextService instance as follows: true
falsetechnologyactivetrue
CONCURRENCY:SPEC:76.133.1Assign an entry in the application component’s environment to the reference using the reference type of: javax.enterprise.concurrent.ContextService. true
falsetechnologyactivetrue
CONCURRENCY:SPEC:76.233.1Look up the administered object in the application component’s environment using JNDItrue
falsetechnologyactivetrue
CONCURRENCY:SPEC:76.333.1or through resource injection by the use of the Resource annotationtrue
falsetechnologyactivetrue
CONCURRENCY:SPEC:7733.1Contextual object proxies will run as an extension of the application component instance that created the proxy as and may interact with Java EE container resources true
falsetechnologyactivetrue
CONCURRENCY:SPEC:7833.4All invocation handlers for the contextual proxy implementation must implement java.io.Serializable.true
falsetechnologyactivetrue
CONCURRENCY:SPEC:7933.4All invocations to any of the proxied interface methods will fail with a java.lang.IllegalStateException exception if the application component is not started or deployed. true
falsetechnologyactivetrue
CONCURRENCY:SPEC:8033.4Java EE Product Providers may add any additional container contexts to the managed ContextService and provide the means for configuration of those contexts in any way so long as these contexts do not violate the required aspects of this specification.true
falsetechnologyactivetrue
CONCURRENCY:SPEC:8133.4.1Each ContextService may support one or more runtime behaviors as specified by configuration attributes.true
falsetechnologyactivetrue
CONCURRENCY:SPEC:8233.4.2The ContextService can be used directly by application components by using resource environment referencestrue
falsetechnologyactivetrue
CONCURRENCY:SPEC:8333.4.2providers may choose to use the context information supplied as default context propagation policies for atrue
falsetechnologyactivetrue
CONCURRENCY:SPEC:83.133.4.2ManagedExecutorServicetrue
falsetechnologyactivetrue
CONCURRENCY:SPEC:83.233.4.2ManagedScheduledExecutorServicetrue
falsetechnologyactivetrue
CONCURRENCY:SPEC:83.333.4.2ManagedThreadFactorytrue
falsetechnologyactivetrue
CONCURRENCY:SPEC:8433.4.3The Java EE Produce Provider must provide a preconfigured, default ContextService for use by application components under the JNDI name java:comp/DefaultContextService. true
falsetechnologyactivetrue
CONCURRENCY:SPEC:8533.4.3The types of contexts to be propagated by this default ContextService must include naming context, class loader, and security information. true
falsetechnologyactivetrue
CONCURRENCY:SPEC:8633.5Contextual dynamic proxies support user-managed global transaction demarcation using the javax.transaction.UserTransaction interfacetrue
falsetechnologyactivetrue
CONCURRENCY:SPEC:8733.5Proxy methods suspend any transactional context on the thread and allow components to manually control global transaction demarcation boundariestrue
falsetechnologyactivetrue
CONCURRENCY:SPEC:8833.5Context objects may optionally begin, commit and rollback a transaction.true
falsetechnologyactivetrue
CONCURRENCY:SPEC:8933.5Transaction management can be disabled on the proxy instance using a context propertytrue
falsetechnologyactivetrue
CONCURRENCY:SPEC:9033.5When disabled, the transaction (if any) currently in progress on the thread (for example, the transaction that the container is managing) will not be suspended and any resources used by the task will be enlisted. true
falsetechnologyactivetrue
CONCURRENCY:SPEC:9133.5.1the transaction management requirements of a ContextService implementation when transaction management is enabled (this is the default behavior). true
falsetechnologyactivetrue
CONCURRENCY:SPEC:91.133.5.1The javax.transaction.UserTransaction interface must be made available in the local JNDI namespace as environment entry: java:comp/UserTransaction true
falsetechnologyactivetrue
CONCURRENCY:SPEC:91.233.5.1All resource managers must enlist with a UserTransaction instance when a transaction is active using the begin() method. true
falsetechnologyactivetrue
CONCURRENCY:SPEC:91.333.5.1The executor is responsible for coordinating commits and rollbacks when the transaction ends using commit() and rollback() methods. true
falsetechnologyactivetrue
CONCURRENCY:SPEC:91.433.5.1A task instance that starts a transaction using the javax.transaction.UserTransaction instance but fails to complete the transaction is an error. The Java EE Product Provider is required to detect this error and abort the transaction.true
falsetechnologyactivetrue
CONCURRENCY:SPEC:91.533.5.1A task must have the same ability to use transactions as the component submitting the tasks.true
falsetechnologyactivetrue
CONCURRENCY:SPEC:9233.5.2the transaction management requirements of each task provider’s implementation when transaction management is enabled (this is the default behavior). true
falsetechnologyactivetrue
CONCURRENCY:SPEC:92.133.5.2A task instance that starts a transaction must complete the transaction before starting a new transaction.true
falsetechnologyactivetrue
CONCURRENCY:SPEC:92.233.5.2The task provider uses the javax.transaction.UserTransaction interface to demarcate transactions.true
falsetechnologyactivetrue
CONCURRENCY:SPEC:92.333.5.2Transactions are demarcated using the begin(), commit() and rollback() methods of the UserTransaction interface. true
falsetechnologyactivetrue
CONCURRENCY:SPEC:92.433.5.2While an instance is in an active transaction, resource-specific transaction demarcation APIs must not be used. true
falsetechnologyactivetrue
CONCURRENCY:SPEC:92.533.5.2The task instance must complete the transaction before the task method ends.true
falsetechnologyactivetrue
CONCURRENCY:SPEC:9334The javax.enterprise.concurrent.ManagedThreadFactory allows applications to create thread instances from a Java EE Product Provider without creating new java.lang.Thread instances directly. true
falsetechnologyactivetrue
CONCURRENCY:SPEC:9434This object allows Application Component Providers to use custom executors such as the java.util.concurrent.ThreadPoolExecutor when advanced, specialized execution patterns are required.true
falsetechnologyactivetrue
CONCURRENCY:SPEC:9534Java EE Product Providers can provide custom Thread implementations to add management capabilities and container contextual information to the thread. true
falsetechnologyactivetrue
CONCURRENCY:SPEC:9634.1The Application Component Provider may use resource environment references to obtain references to a ManagedThreadFactory instance as follows: true
falsetechnologyactivetrue
CONCURRENCY:SPEC:96.134.1Assign an entry in the application component’s environment to the reference using the reference type of: javax.enterprise.concurrent.ManagedThreadFactory. true
falsetechnologyactivetrue
CONCURRENCY:SPEC:96.234.1This specification recommends, but does not require, that all resource environment references be organized in the appropriate subcontext of the component’s environment for the resource type. false
falsetechnologyactivetrue
CONCURRENCY:SPEC:96.334.1Look up the administered object in the application component’s environment using JNDItrue
falsetechnologyactivetrue
CONCURRENCY:SPEC:96.434.1through resource injection by the use of the Resource annotationtrue
falsetechnologyactivetrue
CONCURRENCY:SPEC:96.534.1New threads are created using the newThread(Runnable r) method on the java.util.concurrent.ThreadFactory interface. true
falsetechnologyactivetrue
CONCURRENCY:SPEC:96.634.1The application component thread has permission to interrupt the thread. All other modifications to the thread are subject to the security manager, if present. true
falsetechnologyactivetrue
CONCURRENCY:SPEC:96.734.1All Threads are contextual. When the thread is started using the Thread.start() method, the Runnable that is executed will run with the context of the application component instance that created the ManagedThreadFactory instance. true
falsetechnologyactivetrue
CONCURRENCY:SPEC:96.834.1The ManagedThreadFactory instance may be invoked from several threads in the application component, each with a different container context true
falsetechnologyactivetrue
CONCURRENCY:SPEC:96.934.1If a ManagedThreadFactory instance is stopped, all subsequent calls to newThread() must throw a java.lang.IllegalStateException true
falsetechnologyactivetrue
CONCURRENCY:SPEC:9734.4Threads returned by the newThread() method should implement the ManageableThread interface.true
falsetechnologyactivetrue
CONCURRENCY:SPEC:9834.4When a ManagedThreadFactory instance is stopped, such as when the component that created it is stopped or when the application server is shutting down, all threads that it has created using the newThread() method are interrupted. true
falsetechnologyactivetrue
CONCURRENCY:SPEC:98.134.4Calls to the isShutdown() method in the ManageableThread interface on these threads should return true. true
falsetechnologyactivetrue
CONCURRENCY:SPEC:9934.4Threads that are created by a ManagedThreadFactory instance but are started after the ManagedThreadFactory has shut down should start with an interrupted status. true
falsetechnologyactivetrue
CONCURRENCY:SPEC:99.134.4Calls to the isShutdown() method in the ManageableThread interface on these threads should return true. true
falsetechnologyactivetrue
CONCURRENCY:SPEC:10034.4All threads created by a ManagedThreadFactory instance are required to propagate container context information to the thread’s Runnable.true
falsetechnologyactivetrue
CONCURRENCY:SPEC:10134.4Java EE Product Providers may add any additional container contexts to the managed ManagedThreadFactory and provide the means for configuration of those contexts in any way so long as these contexts do not violate the required aspects of this specification.true
falsetechnologyactivetrue
CONCURRENCY:SPEC:10234.4.1Each managed ManagedThreadFactory may support one or more runtime behaviors as specified by configuration attributes.true
falsetechnologyactivetrue
CONCURRENCY:SPEC:10334.4.2A ManagedThreadFactory can be used directly by application components by using resource environment references true
falsetechnologyactivetrue
CONCURRENCY:SPEC:10434.4.2providers may choose to use the context information supplied as default context propagation policies for ManagedExecutorService, or ManagedScheduledExecutorService instances. true
falsetechnologyactivetrue
CONCURRENCY:SPEC:10534.4.3The Java EE Produce Provider must provide a preconfigured, default ManagedThreadFactory for use by application components under the JNDI name java:comp/DefaultManagedThreadFactory. true
falsetechnologyactivetrue
CONCURRENCY:SPEC:10634.4.3The types of contexts to be propagated by this default ManagedThreadFactory must include naming context, class loader, and security information. true
falsetechnologyactivetrue
CONCURRENCY:SPEC:10734.6ManagedThreadFactory implementations must support user-managed global transaction demarcation using the javax.transaction.UserTransaction interface,true
falsetechnologyactivetrue
CONCURRENCY:SPEC:10834.6Task implementations may optionally begin, commit and roll-back a transaction.true
falsetechnologyactivetrue
CONCURRENCY:SPEC:10934.6.1The javax.transaction.UserTransaction interface must be made available in the local JNDI namespace as environment entry: java:comp/UserTransaction true
falsetechnologyactivetrue
CONCURRENCY:SPEC:11034.6.1All resource managers must enlist with a UserTransaction instance when a transaction is active using the begin() method. true
falsetechnologyactivetrue
CONCURRENCY:SPEC:11134.6.1The executor is responsible for coordinating commits and rollbacks when the transaction ends using commit() and rollback() methods. true
falsetechnologyactivetrue
CONCURRENCY:SPEC:11234.6.1A task instance that starts a transaction using the javax.transaction.UserTransaction instance but fails to complete the transaction is an error. The Java EE Product Provider is required to detect this error and abort the transaction.true
falsetechnologyactivetrue
CONCURRENCY:SPEC:11334.6.1A task must have the same ability to use transactions as the component submitting the tasks.true
falsetechnologyactivetrue
CONCURRENCY:SPEC:11434.6.2A task instance that starts a transaction must complete the transaction before starting a new transaction.true
falsetechnologyactivetrue
CONCURRENCY:SPEC:11534.6.2The task provider uses the javax.transaction.UserTransaction interface to demarcate transactions.true
falsetechnologyactivetrue
CONCURRENCY:SPEC:11634.6.2Transactions are demarcated using the begin(), commit() and rollback() methods of the UserTransaction interface. true
falsetechnologyactivetrue
CONCURRENCY:SPEC:11734.6.2While an instance is in an active transaction, resource-specific transaction demarcation APIs must not be used. true
falsetechnologyactivetrue
CONCURRENCY:SPEC:11834.6.2The task instance must complete the transaction before the task method ends.true
falsetechnologyactivetrue