Class RunnableTask
java.lang.Object
ee.jakarta.tck.concurrent.common.tasks.RunnableTask
- All Implemented Interfaces:
Runnable
- Direct Known Subclasses:
CallableTask
,SecurityServlet.CounterRunnableWithContext
the Runnable Task to check the context related job. it verifies : 1, load
class and 2, look up env-entry set to the deployment descriptor.
-
Constructor Summary
ConstructorsConstructorDescriptionRunnableTask
(String jndiName, String jndiValue, String className) Construct the runnable task with expected properties.RunnableTask
(String jndiName, String jndiValue, String className, long blockTime) Construct the runnable task with expected properties. -
Method Summary
-
Constructor Details
-
RunnableTask
Construct the runnable task with expected properties.- Parameters:
jndiName
- the jndi name set for env-entry, ignore jndi test if it is null.jndiValue
- the jndi value set for jndiNameclassName
- class name to be loaded inside the task, ignore class loading test if it is null.blockTime
- block time(in millisecond) for this task.
-
RunnableTask
Construct the runnable task with expected properties.- Parameters:
jndiName
- the jndi name set for env-entry, ignore jndi test if it is null.jndiValue
- the jndi value set for jndiNameclassName
- class name to be loaded inside the task, ignore class loading test if it is null.
-
-
Method Details