|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbitronix.tm.TransactionManagerServices
Container for all BTM services.
The different services available are: BitronixTransactionManager
, Configuration
, Journal
,
TaskScheduler
, ResourceLoader
, Recoverer
and Executor
. They are used in all places
of the TM so they must be globally reachable.
Constructor Summary | |
TransactionManagerServices()
|
Method Summary | |
protected static void |
clear()
Clear services references. |
static Configuration |
getConfiguration()
Create the configuration of all the components of the transaction manager. |
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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public TransactionManagerServices()
Method Detail |
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 boolean isTransactionManagerRunning()
public static boolean isTaskSchedulerRunning()
protected static void clear()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |