Package org.apache.batchee.tools.services.thread

## Class ThreadExecutorEjb

- java.lang.Object
- - org.apache.batchee.tools.services.thread.ThreadExecutorEjb

-     public class ThreadExecutorEjb
      extends Object

  Small helper class to allow new threads being created via the `AsyncEjbBatchThreadPoolService`.
  See Also:
    `AsyncEjbBatchThreadPoolService`

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `ThreadExecutorEjb()` |

  - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | `executeTask​(Runnable work, Object config)` |
    `Set<BatchWorkUnit>` | `getRunningBatchWorkUnits()` |
    `static UserTransaction` | `getUserTransaction()` |

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### ThreadExecutorEjb

          public ThreadExecutorEjb()

  - ### Method Detail

    - #### executeTask

          public void executeTask​(Runnable work,
                                  Object config)

    - #### getRunningBatchWorkUnits

          public Set<BatchWorkUnit> getRunningBatchWorkUnits()

    - #### getUserTransaction

          public static UserTransaction getUserTransaction()