/glassfish-3.1.2/connectors/connectors-runtime/src/main/java/com/sun/enterprise/resource/rm/ |
H A D | SystemResourceManagerImpl.java | 101 Transaction tran = tm.getTransaction(); 102 if (tran != null) { 103 tm.enlistResource(tran, handle); 121 Transaction tran = tm.getTransaction(); 122 if ( tran != null ) { 123 tran.setRollbackOnly(); 143 Transaction tran = tm.getTransaction(); 144 if (tran != null) { 145 tm.delistResource(tran, h, xaresFlag);
|
H A D | ResourceManagerImpl.java | 124 Transaction tran = null; 140 tran = tm.getTransaction(); 142 tran = null; 146 tran = (Transaction) inv.getTransaction(); 150 if (tran != null) { 152 tm.enlistResource(tran, handle); 178 protected void enlist( JavaEETransactionManager tm, Transaction tran, argument 181 tm.enlistResource( tran, h ); 196 Transaction tran = null; 207 tran [all...] |
H A D | LazyEnlistableResourceManagerImpl.java | 69 protected void enlist( JavaEETransactionManager tm, Transaction tran, argument 97 Transaction tran = null; 100 tran = tm.getTransaction(); 101 if ( tran == null ) { 147 tm.enlistResource( tran, h );
|
/glassfish-3.1.2/transaction/jta/src/main/java/com/sun/enterprise/transaction/ |
H A D | TransactionSynchronizationRegistryImpl.java | 124 JavaEETransactionImpl tran = 126 if (tran == null) 129 tran.putUserResource(key, value); 151 JavaEETransactionImpl tran = 153 if (tran == null) 156 return tran.getUserResource(key); 200 JavaEETransactionImpl tran = 202 if (tran == null) 205 tran.registerInterposedSynchronization(sync);
|
H A D | JavaEETransactionManagerSimplified.java | 295 public boolean enlistResource(Transaction tran, TransactionalResource h) argument 306 JavaEETransaction tx = getDelegate().getJavaEETransaction(tran); 312 if ( !(tran instanceof JavaEETransaction) ) { 313 return enlistXAResource(tran, h); 316 JavaEETransactionImpl tx = (JavaEETransactionImpl)tran; 505 Transaction tran = getTransaction(); 506 inv.setTransaction((JavaEETransaction)tran); 517 public boolean delistResource(Transaction tran, TransactionalResource h, int flag) argument 521 if ( !(tran instanceof JavaEETransaction) ) 522 return delistJTSResource(tran, 1160 getTransactionAdminBean(Transaction tran) argument 1306 enlistXAResource(Transaction tran, TransactionalResource h) argument 1368 handleResourceError(TransactionalResource h, Exception ex, Transaction tran) argument 1422 isTransactionActive(Transaction tran) argument 1431 delistJTSResource(Transaction tran, TransactionalResource h, int flag) argument [all...] |
H A D | JavaEETransactionManagerSimplifiedDelegate.java | 152 public boolean enlistDistributedNonXAResource(Transaction tran, TransactionalResource h) argument 157 public boolean enlistLAOResource(Transaction tran, TransactionalResource h) argument 266 public TransactionAdminBean getTransactionAdminBean(Transaction tran) argument 268 return ((JavaEETransactionManagerSimplified)tm).getTransactionAdminBean(tran);
|
/glassfish-3.1.2/persistence/cmp/support-sqlstore/src/main/java/com/sun/jdo/spi/persistence/support/sqlstore/ |
H A D | SQLStoreManager.java | 156 private void rollbackXact(Transaction tran) { argument 159 tran.setRollbackOnly(); 160 //tran.rollback(); 199 Transaction tran = (Transaction) pm.currentTransaction(); 200 Connection conn = tran.getConnection(); 206 s = new DBStatement(conn, sqlText, tran.getUpdateTimeout()); 219 rollbackXact(tran); 230 rollbackXact(tran); 234 closeConnection(tran, conn); 438 Transaction tran 568 executeUpdateBatch(Transaction tran, Connection conn, UpdateStatement updateStatement, UpdateObjectDescImpl updateDesc, boolean doFlush) argument 713 closeDBStatements(UpdateQueryPlan plan, Transaction tran) argument [all...] |
/glassfish-3.1.2/connectors/connectors-internal-api/src/main/java/com/sun/appserv/connectors/internal/api/ |
H A D | TransactedPoolManager.java | 57 * @param tran Transaction to which the resource is enlisted 61 void resourceEnlisted(Transaction tran, ResourceHandle res) throws IllegalStateException; argument
|
/glassfish-3.1.2/connectors/connectors-runtime/src/main/java/com/sun/enterprise/resource/pool/ |
H A D | PoolTxHelper.java | 165 * @param tran Transaction 169 private boolean isNonXAResourceInTransaction(JavaEETransaction tran, ResourceHandle resource) { argument 171 return resource.equals(tran.getNonXAResource()); 177 * @param tran Transaction 181 public boolean isNonXAResourceAndFree(JavaEETransaction tran, ResourceHandle resource) { argument 182 return resource.getResourceState().isFree() && isNonXAResource(resource) && isNonXAResourceInTransaction(tran, resource); 187 * transation tran 188 * @param tran Transaction to which the resource need to be enlisted 191 public void resourceEnlisted(Transaction tran, ResourceHandle resource) { argument 193 JavaEETransaction j2eetran = (JavaEETransaction) tran; 220 transactionCompleted(Transaction tran, int status, PoolInfo poolInfo) argument [all...] |
H A D | ResourcePool.java | 65 Transaction tran) throws PoolingException, RetryableUnavailableException; 72 public void resourceEnlisted(Transaction tran, ResourceHandle resource); argument 77 public void transactionCompleted(Transaction tran, int status); argument 63 getResource(ResourceSpec spec, ResourceAllocator alloc, Transaction tran) argument
|
H A D | PoolManagerImpl.java | 163 Transaction tran = null; 167 tran = getResourceManager(spec).getTransaction(); 171 getResourceFromPool(spec, alloc, info, tran); 239 Transaction tran) throws PoolingException, RetryableUnavailableException { 245 return pool.getResource(spec, alloc, tran); 296 private void addSyncListener(Transaction tran) { argument 297 Synchronization sync = new SynchronizationListener(tran); 299 tran.registerSynchronization(sync); 309 public void transactionCompleted(Transaction tran, int status) argument 312 Iterator iter = ((JavaEETransaction) tran) 238 getResourceFromPool(ResourceSpec spec, ResourceAllocator alloc, ClientSecurityInfo info, Transaction tran) argument 322 resourceEnlisted(Transaction tran, com.sun.appserv.connectors.internal.api.ResourceHandle h) argument 651 private Transaction tran; field in class:PoolManagerImpl.SynchronizationListener 653 SynchronizationListener(Transaction tran) argument [all...] |
H A D | UnpooledResource.java | 89 Transaction tran) { 102 Transaction tran) throws PoolingException { 88 prefetch(ResourceSpec spec, ResourceAllocator alloc, Transaction tran) argument 101 getUnenlistedResource(ResourceSpec spec, ResourceAllocator alloc, Transaction tran) argument
|
H A D | AssocWithThreadResourcePool.java | 86 * @param tran Transaction 90 ResourceAllocator alloc, Transaction tran) { 193 ResourceAllocator alloc, Transaction tran) throws PoolingException { 196 result = super.getUnenlistedResource(spec, alloc, tran); 89 prefetch(ResourceSpec spec, ResourceAllocator alloc, Transaction tran) argument 192 getUnenlistedResource(ResourceSpec spec, ResourceAllocator alloc, Transaction tran) argument
|
H A D | PoolManager.java | 94 Transaction tran) throws PoolingException, RetryableUnavailableException; 114 public void transactionCompleted(Transaction tran, int status); argument 93 getResourceFromPool(ResourceSpec spec, ResourceAllocator alloc, ClientSecurityInfo info, Transaction tran) argument
|
H A D | ConnectionPool.java | 499 * @param tran Transaction 503 ResourceAllocator alloc, Transaction tran) { 509 Transaction tran) throws PoolingException { 515 result = getResourceFromTransaction(tran, alloc, spec); 520 result = prefetch(spec, alloc, tran); 526 result = getUnenlistedResource(spec, alloc, tran); 542 * @param tran Current Transaction 547 private ResourceHandle getResourceFromTransaction(Transaction tran, ResourceAllocator alloc, ResourceSpec spec) { argument 552 if (tran != null && alloc.shareableWithinComponent()) { 554 JavaEETransaction j2eetran = (JavaEETransaction) tran; 502 prefetch(ResourceSpec spec, ResourceAllocator alloc, Transaction tran) argument 507 internalGetResource(ResourceSpec spec, ResourceAllocator alloc, Transaction tran) argument 630 getUnenlistedResource(ResourceSpec spec, ResourceAllocator alloc, Transaction tran) argument 1161 resourceEnlisted(Transaction tran, ResourceHandle resource) argument 1172 transactionCompleted(Transaction tran, int status) argument [all...] |
/glassfish-3.1.2/transaction/internal-api/src/main/java/com/sun/enterprise/transaction/spi/ |
H A D | TransactionalResource.java | 83 * @param tran Transaction to which the resource is enlisted 86 void enlistedInTransaction(Transaction tran) throws IllegalStateException; argument
|
H A D | JavaEETransactionManagerDelegate.java | 113 * @param tran the Transaction object to be used to enlist the resource. 118 Transaction tran, TransactionalResource h) 124 * @param tran the Transaction object to be used to enlist the resource. 128 public boolean enlistLAOResource(Transaction tran, TransactionalResource h) argument 117 enlistDistributedNonXAResource( Transaction tran, TransactionalResource h) argument
|
/glassfish-3.1.2/transaction/jta-xa/src/main/java/com/sun/enterprise/transaction/xa/ |
H A D | JavaEETransactionManagerXADelegate.java | 110 public boolean enlistDistributedNonXAResource(Transaction tran, TransactionalResource h) argument 115 public boolean enlistLAOResource(Transaction tran, TransactionalResource h) argument
|
/glassfish-3.1.2/persistence/cmp/support-sqlstore/src/main/java/com/sun/jdo/spi/persistence/support/sqlstore/sql/generator/ |
H A D | UpdateStatement.java | 307 * @param tran the transaction 311 public DBStatement getDBStatement(Transaction tran, Connection conn) argument 319 dbStatement = (DBStatement)dbStatementCache.get(tran); 323 tran.getUpdateTimeout()); 325 dbStatementCache.put(tran, dbStatement); 333 public boolean exceedsBatchThreshold(Transaction tran) argument 337 DBStatement dbStatement = (DBStatement)dbStatementCache.get(tran); 345 * @param tran the transaction 347 public DBStatement removeDBStatement(Transaction tran) argument 351 DBStatement s = (DBStatement)dbStatementCache.remove(tran); [all...] |
/glassfish-3.1.2/transaction/internal-api/src/main/java/com/sun/enterprise/transaction/api/ |
H A D | JavaEETransactionManager.java | 91 * @param tran The transaction object 107 public boolean enlistResource(Transaction tran, argument 115 * @param tran The transaction object 128 public boolean delistResource(Transaction tran, argument
|
/glassfish-3.1.2/persistence/cmp/support-sqlstore/src/main/java/com/sun/jdo/spi/persistence/support/sqlstore/connection/ |
H A D | ConnectionManager.java | 1374 Transaction tran = null; 1380 tran = ThreadContext.transactionContext().getTransaction(); 1390 if (tran == null) 1392 return (ConnectionImpl) this.xactConnections.get(tran); 2033 * @param tran The Transaction's object. 2036 synchronized void associateXact(Transaction tran, ConnectionImpl conn) { argument 2037 if (tran != null) 2038 this.xactConnections.put((Object) tran, (Object) conn); 2044 * @param tran The Transaction's object. 2051 Transaction tran, 2049 disassociateXact( Transaction tran, ConnectionImpl conn, boolean free ) argument [all...] |
/glassfish-3.1.2/transaction/jts/src/main/java/com/sun/enterprise/transaction/jts/ |
H A D | JavaEETransactionManagerJTSDelegate.java | 313 public boolean enlistLAOResource(Transaction tran, TransactionalResource h) argument 316 if (tran instanceof JavaEETransaction) { 317 JavaEETransaction tx = (JavaEETransaction)tran; 327 return tran.enlistResource(res); 387 public TransactionInternal startJTSTx(JavaEETransaction tran, boolean isAssociatedTimeout) argument 391 JavaEETransactionImpl tx = (JavaEETransactionImpl)tran; 583 JavaEETransactionImpl tran = (JavaEETransactionImpl)globalTransactions.get(t); 584 if(tran != null) { 585 tBean = ((JavaEETransactionManagerSimplified)javaEETM).getTransactionAdminBean(tran);
|
/glassfish-3.1.2/transaction/jts/src/main/java/com/sun/jts/jta/ |
H A D | TransactionState.java | 119 private TransactionImpl tran; field in class:TransactionState 129 public TransactionState(GlobalTID gtid, TransactionImpl tran) { argument 135 this.tran = tran; 176 tran.setRollbackOnly(); 405 tran.setRollbackOnly();
|
/glassfish-3.1.2/web/web-glue/src/main/java/com/sun/web/server/ |
H A D | J2EEInstanceListener.java | 254 Transaction tran; 255 if ((tran = tm.getTransaction()) != null) { 256 inv.setTransaction(tran);
|
/glassfish-3.1.2/connectors/connectors-runtime/src/main/java/com/sun/enterprise/resource/ |
H A D | ResourceHandle.java | 380 public void enlistedInTransaction(Transaction tran) throws IllegalStateException { argument 381 ConnectorRuntime.getRuntime().getPoolManager().resourceEnlisted(tran, this);
|