org.objectweb.jotm
Class Jotm
java.lang.Object
org.objectweb.jotm.Jotm
public class Jotm
- extends Object
This class represents an instance of JOTM.
- Author:
- jeff mesnil
|
Field Summary |
static org.apache.commons.logging.Log |
log
Logger |
|
Constructor Summary |
Jotm(boolean local,
boolean bound)
Public constructor for Jotm. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
public static final org.apache.commons.logging.Log log
- Logger
Jotm
public Jotm(boolean local,
boolean bound)
throws NamingException
- Public constructor for Jotm.
If Jotm is created with a
local transaction factory which is
not bound to a registry, Jotm would be able to manage
transactions only inside the same JVM.
- Parameters:
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
getTransactionManager
public TransactionManager getTransactionManager()
getUserTransaction
public UserTransaction getUserTransaction()
getTransactionSynchronizationRegistry
public TransactionSynchronizationRegistryImpl getTransactionSynchronizationRegistry()
stop
public void stop()
Copyright © 2005-2011 OW2 Consortium. All Rights Reserved.