org.mortbay.jetty.plus
Class TMService
- LifeCycle, Service
public abstract class TMService
A TMService
represents a JTA Service and is used to acces JTA
main interfaces (UserTransaction
and
TransactionManager
).
DEFAULT_USER_TX_JNDI
public static final String DEFAULT_USER_TX_JNDI
Default value for UserTransaction JNDI binding. User can
change this by calling setJNDI()
_transactionManagerJNDI
protected String _transactionManagerJNDI
Value for the TransactionManager JNDI binding. This is not
changeable at runtime because other services need to know how to look it up.
TMService
public TMService()
getTransactionManager
public abstract TransactionManager getTransactionManager()
returns a TransactionManager
object.
getTransactionManagerJNDI
public String getTransactionManagerJNDI()
getUserTransaction
public abstract UserTransaction getUserTransaction()
Returns an UserTransaction
object.
Copyright © 2004 Mortbay Consulting Pty. Ltd. All Rights Reserved.