|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.quartz.ee.jta.UserTransactionHelper
public class UserTransactionHelper
A helper for obtaining a handle to a UserTransaction...
To ensure proper cleanup of the InitalContext used to create/lookup the UserTransaction, be sure to always call returnUserTransaction() when you are done with the UserTransaction.
Field Summary | |
---|---|
static java.lang.String |
DEFAULT_USER_TX_LOCATION
|
Method Summary | |
---|---|
static java.lang.String |
getUserTxLocation()
|
static javax.transaction.UserTransaction |
lookupUserTransaction()
Create/Lookup a UserTransaction in the InitialContext via the name set in setUserTxLocation(). |
static void |
returnUserTransaction(javax.transaction.UserTransaction userTransaction)
Return a UserTransaction that was retrieved via getUserTransaction(). |
static void |
setUserTxLocation(java.lang.String userTxURL)
Set the JNDI URL at which the Application Server's UserTransaction can be found. |
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_USER_TX_LOCATION
Method Detail |
---|
public static java.lang.String getUserTxLocation()
public static void setUserTxLocation(java.lang.String userTxURL)
public static javax.transaction.UserTransaction lookupUserTransaction() throws SchedulerException
SchedulerException
public static void returnUserTransaction(javax.transaction.UserTransaction userTransaction)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |