|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.objectweb.jotm.Jotm
This class represents an instance of JOTM.
| 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. |
javax.transaction.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 |
| Constructor Detail |
public Jotm(boolean local,
boolean bound)
throws javax.naming.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:
javax.naming.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.getTransactionManager()public javax.transaction.UserTransaction getUserTransaction()
TMServiceUserTransaction object.
getUserTransaction in interface TMServiceTMService.getUserTransaction()public void stop()
TMService
stop in interface TMServiceTMService.stop()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||