org.objectweb.jonas.jtm
Interface TransactionService

All Superinterfaces:
Service
All Known Implementing Classes:
TransactionServiceImpl

public interface TransactionService
extends Service

Transaction Service interface.


Method Summary
 Current getCurrent()
          Gets the Current object
 TransactionFactory getTransactionFactory()
          Gets the TransactionFactory object (JTM factory)
 javax.transaction.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

public Current getCurrent()
Gets the Current object

getTransactionManager

public javax.transaction.TransactionManager getTransactionManager()
Gets the TransactionManager

getUserTransaction

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

getTransactionFactory

public TransactionFactory getTransactionFactory()
Gets the TransactionFactory object (JTM factory)

setTimeout

public void setTimeout(int t)
Sets the default transaction timeout