org.objectweb.jonas.jtm
Interface TransactionService

All Superinterfaces:
Service
All Known Implementing Classes:
TransactionServiceImpl

public interface TransactionService
extends Service

Transaction Service interface.


Method Summary
 org.objectweb.jotm.Current getCurrent()
          Gets the Current object
 org.objectweb.jotm.TransactionFactory getTransactionFactory()
          Gets the TransactionFactory object (JTM factory)
 org.objectweb.transaction.jta.TransactionManager getTransactionManager()
          Gets the TransactionManager
 javax.transaction.UserTransaction getUserTransaction()
          Gets the UserTransaction object
 void setTimeout(int t)
          Sets the default transaction timeout
 
Methods inherited from interface org.objectweb.jonas.service.Service
getName, init, isStarted, setName, start, stop
 

Method Detail

getCurrent

org.objectweb.jotm.Current getCurrent()
Gets the Current object


getTransactionManager

org.objectweb.transaction.jta.TransactionManager getTransactionManager()
Gets the TransactionManager


getUserTransaction

javax.transaction.UserTransaction getUserTransaction()
Gets the UserTransaction object


getTransactionFactory

org.objectweb.jotm.TransactionFactory getTransactionFactory()
Gets the TransactionFactory object (JTM factory)


setTimeout

void setTimeout(int t)
Sets the default transaction timeout