| Interface | Description |
|---|---|
| TransactionalWrapper.CheckedProducer<T> | |
| TransactionalWrapper.CheckedRunnable |
| Class | Description |
|---|---|
| EntityManagerProducer |
Produces an
EntityManager for the test environment. |
| ManagedExecutorServiceProducer |
Produces a
ManagedExecutorService for the test environment. |
| TestEnvironmentCDIExtension |
CDI extension for the test environment, where the magic happens:
@Transactional support
EJB support: injectable, transactional
@Singleton EJB support: @ApplicationScoped, @Stateful
@Resource injection of
ExecutorService
@Startup support: create beans
Autostart contexts: @ApplicationScoped and @RequestScoped
|
| TestManagedExecutorService |
Test implementation of a
ManagedExecutorService. |
| TransactionalWrapper |
Allows to make individual code blocks transactional.
|