public class TransactionManagerServices
extends java.lang.Object
The different services available are: BitronixTransactionManager, BitronixTransactionSynchronizationRegistry
Configuration, Journal, TaskScheduler, ResourceLoader, Recoverer and Executor.
They are used in all places of the TM so they must be globally reachable.
| Constructor and Description |
|---|
TransactionManagerServices() |
| Modifier and Type | Method and Description |
|---|---|
protected static void |
clear()
Clear services references.
|
static Configuration |
getConfiguration()
Create the configuration of all the components of the transaction manager.
|
static ExceptionAnalyzer |
getExceptionAnalyzer()
Create the exception analyzer.
|
static Executor |
getExecutor()
Create the 2PC executor.
|
static Journal |
getJournal()
Create the transactions journal.
|
static Recoverer |
getRecoverer()
Create the transaction recoverer.
|
static ResourceLoader |
getResourceLoader()
Create the resource loader.
|
static TaskScheduler |
getTaskScheduler()
Create the task scheduler.
|
static BitronixTransactionManager |
getTransactionManager()
Create an initialized transaction manager.
|
static BitronixTransactionSynchronizationRegistry |
getTransactionSynchronizationRegistry()
Create the JTA 1.1 TransactionSynchronizationRegistry.
|
static boolean |
isTaskSchedulerRunning()
Check if the task scheduler has started.
|
static boolean |
isTransactionManagerRunning()
Check if the transaction manager has started.
|
public static BitronixTransactionManager getTransactionManager()
public static BitronixTransactionSynchronizationRegistry getTransactionSynchronizationRegistry()
public static Configuration getConfiguration()
public static Journal getJournal()
public static TaskScheduler getTaskScheduler()
public static ResourceLoader getResourceLoader()
public static Recoverer getRecoverer()
public static Executor getExecutor()
public static ExceptionAnalyzer getExceptionAnalyzer()
public static boolean isTransactionManagerRunning()
public static boolean isTaskSchedulerRunning()
protected static void clear()
Copyright © 2006-2022 Bitronix Software. All Rights Reserved.