Searched defs:tx (Results 1 - 16 of 16) sorted by relevance

/glassfish-3.1.2/transaction/jta-xa/src/main/java/com/sun/enterprise/transaction/xa/
H A DJavaEETransactionManagerXADelegate.java84 * it might be a JTS imported global tx or an error
92 * it might be a JTS imported global tx or an error
98 JavaEETransaction tx = tm.getCurrentTransaction();
99 if ( tx != null && tx.isLocalTx())
100 return tx.getStatus();
126 public Transaction suspend(JavaEETransaction tx) throws SystemException { argument
127 if ( tx != null )
129 return tx;
132 public void resume(Transaction tx) argument
138 removeTransaction(Transaction tx) argument
[all...]
/glassfish-3.1.2/ejb/ejb-container/src/main/java/com/sun/ejb/containers/
H A DContainerSynchronization.java57 * There is one ContainerSynchronization instance per tx.
58 * All bean instances (of all types) participating in the tx must be
78 private Transaction tx; // the tx with which this Sync was registered field in class:ContainerSynchronization
84 ContainerSynchronization(Transaction tx, argument
87 this.tx = tx;
120 // Might be null if no timer synch object for this timerId in this tx
142 tx.setRollbackOnly();
187 tx
[all...]
H A DEjbContainerUtil.java142 public void removeContainerSync(Transaction tx); argument
H A DEjbContainerUtilImpl.java396 private TxData getTxData(JavaEETransaction tx) { argument
397 TxData txData = tx.getContainerData();
401 tx.setContainerData(txData);
410 JavaEETransaction tx = (JavaEETransaction) jtx;
411 TxData txData = getTxData(tx);
414 txData.sync = new ContainerSynchronization(tx, this);
415 tx.registerSynchronization(txData.sync);
421 public void removeContainerSync(Transaction tx) { argument
440 JavaEETransaction tx = (JavaEETransaction) jtx;
441 TxData txData = getTxData(tx);
[all...]
H A DEntityContainer.java636 // remain in the incomplete-tx table.
710 // Either the EJB was called with no tx,
711 // or it was called with a tx which finished,
714 // If no tx or tx committed, then move the EJB to READY state
825 // all updates done previously in the client's tx.
828 Transaction tx = null;
830 tx = transactionManager.getTransaction();
835 storeAllBeansInTx( tx );
848 // all updates done previously in the client's tx
2174 Transaction tx; // may be null field in class:EntityContainer.EJBTxKey
2178 EJBTxKey(Object primaryKey, Transaction tx) argument
2802 storeAllBeansInTx(Transaction tx) argument
[all...]
/glassfish-3.1.2/persistence/cmp/support-sqlstore/src/main/java/com/sun/jdo/spi/persistence/support/sqlstore/ejb/
H A DContainerHelper.java244 * @param tx - The javax.transaction.Transaction object that
247 void resumeCurrentTransaction(javax.transaction.Transaction tx); argument
H A DSunContainerHelper.java404 javax.transaction.Transaction tx = null;
406 tx = getLocalTransactionManager().suspend();
411 return tx;
418 * @param tx - The javax.transaction.Transaction object that
423 public void resumeCurrentTransaction(javax.transaction.Transaction tx) { argument
426 if (tx != null) {
427 getLocalTransactionManager().resume(tx);
H A DCMPHelper.java321 * @param tx - The javax.transaction.Transaction object that
325 javax.transaction.Transaction tx) {
327 getContainerHelper().resumeCurrentTransaction(tx);
334 Transaction tx = pm.currentTransaction();
336 if (tx != null && tx.isActive()) {
324 resumeCurrentTransaction( javax.transaction.Transaction tx) argument
/glassfish-3.1.2/transaction/internal-api/src/main/java/com/sun/enterprise/transaction/spi/
H A DJavaEETransactionManagerDelegate.java141 * @param tx the JavaEETransaction object to be suspend.
144 public Transaction suspend(JavaEETransaction tx) throws SystemException; argument
149 * @param tx the Transaction object that represents the transaction to be resumed.
151 public void resume(Transaction tx) argument
158 * @param tx the Transaction object to be removed.
160 public void removeTransaction(Transaction tx); argument
296 * A null tx context has no Coordinator objref. It indicates
298 * tx but the client container did not support tx interop.
/glassfish-3.1.2/transaction/jta/src/main/java/com/sun/enterprise/transaction/
H A DJavaEETransactionManagerSimplifiedDelegate.java132 JavaEETransaction tx = tm.getCurrentTransaction();
133 if ( tx != null && tx.isLocalTx())
134 return tx.getStatus();
173 public Transaction suspend(JavaEETransaction tx) throws SystemException { argument
174 if ( tx != null ) {
178 return tx;
181 public void resume(Transaction tx) argument
187 public void removeTransaction(Transaction tx) {} argument
260 * Return false as this delegate doesn't support tx intero
[all...]
H A DJavaEETransactionManagerSimplified.java276 * A null tx context has no Coordinator objref. It indicates
278 * tx but the client container did not support tx interop.
306 JavaEETransaction tx = getDelegate().getJavaEETransaction(tran);
307 if ( tx != null ) {
308 ((JavaEETransactionImpl)tx).addResourceName(h.getName());
316 JavaEETransactionImpl tx = (JavaEETransactionImpl)tran;
321 /** +" h.alloc=" +h.getResourceAllocator() **/ +" tx="+tx);
327 if ( (tx
1449 remove(Transaction tx) argument
1525 monitorTxBegin(Transaction tx) argument
[all...]
/glassfish-3.1.2/persistence/cmp/support-ejb/src/main/java/com/sun/jdo/spi/persistence/support/ejb/cmp/
H A DEJBHashSet.java68 private Transaction tx = null; field in class:EJBHashSet
91 tx = pm.currentTransaction();
383 if (pm.isClosed() || !tx.isActive()) {
405 tx = null;
/glassfish-3.1.2/transaction/internal-api/src/main/java/com/sun/enterprise/transaction/api/
H A DJavaEETransactionManager.java231 * A null tx context indicates that the client had an active
232 * tx but the client container did not support tx interop.
341 * @param tx the JavaEETransaction associated with the current thread or null
344 public void setCurrentTransaction(JavaEETransaction tx); argument
/glassfish-3.1.2/transaction/jts/src/main/java/com/sun/enterprise/transaction/jts/
H A DJavaEETransactionManagerJTSDelegate.java238 JavaEETransaction tx = javaEETM.getCurrentTransaction();
242 if ( tx != null)
243 status = tx.getStatus();
255 JavaEETransaction tx = javaEETM.getCurrentTransaction();
257 _logger.log(Level.FINE,"TM: getTransaction: tx=" + tx + ", tm=" + tmLocal.get());
259 if ( tx != null )
260 return tx;
262 // Check for a JTS imported tx
274 tx
295 enlistDistributedNonXAResource(Transaction tx, TransactionalResource h) argument
348 suspend(JavaEETransaction tx) argument
362 resume(Transaction tx) argument
374 removeTransaction(Transaction tx) argument
[all...]
/glassfish-3.1.2/persistence/cmp/support-sqlstore/src/main/java/com/sun/jdo/spi/persistence/support/sqlstore/impl/
H A DSQLPersistenceManagerFactory.java724 com.sun.jdo.spi.persistence.support.sqlstore.Transaction tx =
727 logger.finest("sqlstore.sqlpersistencemgrfactory.getpersistencemgr.jdotx",tx); // NOI18N
730 if (!tx.isActive()) {
731 tx.begin(t);
811 private PersistenceManagerImpl getFromPool(javax.transaction.Transaction tx, argument
826 PersistenceManagerImpl pm = new PersistenceManagerImpl(this, tx, username, password);
829 Object[] items = new Object[] {pm,tx};
/glassfish-3.1.2/transaction/jts/src/test/java/com/sun/enterprise/transaction/jts/
H A DAppTest.java244 Transaction tx = null;
247 tx = t.getTransaction();
249 TestResource theResource = new TestResource(tx);
250 TestResource theResource1 = new TestResource(tx);
251 t.enlistResource(tx, new TestResourceHandle(theResource));
252 t.enlistResource(tx, new TestResourceHandle(theResource1));
253 t.delistResource(tx, new TestResourceHandle(theResource), XAResource.TMSUCCESS);
254 t.delistResource(tx, new TestResourceHandle(theResource1), XAResource.TMSUCCESS);
257 String status = JavaEETransactionManagerSimplified.getStatusAsString(tx.getStatus());
271 tx
1426 enlistForRollback(Transaction tx, int... errorCode) argument
1503 private Transaction tx; field in class:AppTest.TestResource
1510 TestResource(Transaction tx) argument
[all...]

Completed in 41 milliseconds