Scheduler tasks and Java EE context

When a task is created using the Scheduler API create() method, the Java™ Platform, Enterprise Edition (Java EE) thread context of the creator is stored with the scheduled task. When the task runs, the original Java EE thread context is reapplied to the thread before calling the customer TaskInfo instance.

The scheduler service utilizes the Concurrency Utilities for Java EE deferred start mechanism to propagate Java EE service context information to a task when it runs. The amount of service context information that is propagated is controlled by the Service Context settings on the WorkManager configuration object that schedulers reference. For example, security and internationalization service contexts can be enabled. See information about concurrency for details on how to configure the application server to propagate these service contexts.


指出主題類型的圖示 概念主題



時間戳記圖示 前次更新: July 9, 2016 11:21
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=cord&product=was-nd-mp&topic=csch_context
檔名:csch_context.html