|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.objectweb.jotm.Jotm
public class Jotm
This class represents an instance of JOTM.
| Field Summary | |
|---|---|
static org.apache.commons.logging.Log |
log
Logger |
| Constructor Summary | |
|---|---|
Jotm(boolean local,
boolean bound)
Public constructor for Jotm. |
|
| Method Summary | |
|---|---|
TransactionManager |
getTransactionManager()
returns a TransactionManager object. |
TransactionRecovery |
getTransactionRecovery()
returns a TransactionRecoveryImpl object. |
TransactionSynchronizationRegistryImpl |
getTransactionSynchronizationRegistry()
Returns an TransactionSynchronizationRegistry object. |
UserTransaction |
getUserTransaction()
Returns an UserTransaction object. |
void |
stop()
Stops the transaction service. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final org.apache.commons.logging.Log log
| Constructor Detail |
|---|
public Jotm(boolean local,
boolean bound)
throws NamingException
local transaction factory which is
not bound to a registry, Jotm would be able to manage
transactions only inside the same JVM.
local - true to create an instance of JOTM with a
local transaction factory, false elsebound - true if the transaction factory is to be
bound in a registry, false else (ignored if
local is false)
- Throws:
NamingException - thrown if the transaction factory can't be bound
or looked up in a registry| Method Detail |
|---|
public TransactionManager getTransactionManager()
TMServiceTransactionManager object.
getTransactionManager in interface TMServiceTMService.getTransactionManager()public TransactionRecovery getTransactionRecovery()
TMServiceTransactionRecoveryImpl object.
getTransactionRecovery in interface TMServiceTMService.getTransactionRecovery()public UserTransaction getUserTransaction()
TMServiceUserTransaction object.
getUserTransaction in interface TMServiceTMService.getUserTransaction()public TransactionSynchronizationRegistryImpl getTransactionSynchronizationRegistry()
TMServiceTransactionSynchronizationRegistry object.
getTransactionSynchronizationRegistry in interface TMServicepublic void stop()
TMService
stop in interface TMServiceTMService.stop()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||