|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.xenonsoft.bridgetown.aop.transaction.jta.JtaTransactionSession
The session implementation for a JTA transaction.
| Field Summary | |
protected java.lang.String |
contextFactory
JNDI context factory lookup |
protected javax.sql.DataSource |
dataSource
User supplied data source |
static java.lang.String |
DEFAULT_JNDI_USER_TRANSACTION
Default jndi look up for JTA transaction javax.transaction.UserTransaction |
protected java.util.Hashtable |
env
Environment properties for JNDI settings |
protected java.lang.String |
jndiUserTransaction
Jndi look up for JTA transaction |
protected JtaTransactionContext |
jtx
Transaction context |
protected java.lang.String |
providerUrl
JNDI provider URL |
protected java.lang.String |
securityCredentials
JNDI provider password |
protected java.lang.String |
securityPrincipal
JNDI provider username |
| Constructor Summary | |
JtaTransactionSession()
Default constructor |
|
| Method Summary | |
void |
closeTransactionContext(ITransactionContext context)
Closes the JTA transaction context. |
ITransactionContext |
createTransactionContext(ITransactionConfig config)
Creates or opens a new transaction context that is associated with the current thread. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final java.lang.String DEFAULT_JNDI_USER_TRANSACTION
javax.transaction.UserTransaction
protected java.lang.String jndiUserTransaction
protected java.lang.String contextFactory
protected java.lang.String providerUrl
protected java.lang.String securityPrincipal
protected java.lang.String securityCredentials
protected javax.sql.DataSource dataSource
protected java.util.Hashtable env
protected JtaTransactionContext jtx
| Constructor Detail |
public JtaTransactionSession()
| Method Detail |
public ITransactionContext createTransactionContext(ITransactionConfig config)
throws TransactionException
createTransactionContext in interface ITransactionSessionconfig - the transaction config
TransactionExceptionITransactionSession.createTransactionContext(ITransactionConfig)public void closeTransactionContext(ITransactionContext context)
closeTransactionContext in interface ITransactionSessioncontext - the transaction context.ITransactionSession.closeTransactionContext(com.xenonsoft.bridgetown.aop.transaction.ITransactionContext)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||