Searched refs:beforeCompletion (Results 1 - 25 of 26) sorted by relevance

12

/glassfish-3.1.2/transaction/javax.transaction/src/main/java/javax/transaction/
H A DSynchronization.java54 * The beforeCompletion method is called by the transaction manager prior
59 public void beforeCompletion(); method in interface:Synchronization
/glassfish-3.1.2/ejb/javax.ejb/src/main/java/javax/ejb/
H A DSessionSynchronization.java86 * The <code>beforeCompletion</code> method notifies a stateful session bean instance that
109 public void beforeCompletion() throws EJBException, RemoteException; method in interface:SessionSynchronization
/glassfish-3.1.2/persistence/cmp/internal-api/src/main/java/com/sun/jdo/api/persistence/support/
H A DSynchronizationManager.java145 * This method in turn calls each registered instance beforeCompletion
148 public void beforeCompletion() { method in class:SynchronizationManager
152 instance.beforeCompletion();
/glassfish-3.1.2/ejb/ejb-container/src/main/java/com/sun/ejb/containers/
H A DContainerSynchronization.java129 public void beforeCompletion() method in class:ContainerSynchronization
131 // first call beforeCompletion for each bean instance
148 container.beforeCompletion(context);
153 " ContainerSynchronization.beforeCompletion");
161 throw new EJBException("Error during beforeCompletion.", ex);
165 // now call beforeCompletion for all pmSyncs
169 sync.beforeCompletion();
176 throw new EJBException("Error during beforeCompletion.", ex);
H A DAbstractSingletonContainer.java628 void beforeCompletion(EJBContextImpl context) { method in class:AbstractSingletonContainer
H A DStatelessSessionContainer.java650 void beforeCompletion(EJBContextImpl context) { method in class:StatelessSessionContainer
H A DMessageBeanContainer.java776 void beforeCompletion(EJBContextImpl context) { method in class:MessageBeanContainer
H A DEntityContainer.java1298 * afterBegin, beforeCompletion, passivateEJB.
1427 // Called from BaseContainer.SyncImpl.beforeCompletion, postInvokeNoTx
1428 void beforeCompletion(EJBContextImpl ctx) { method in class:EntityContainer
1448 // Called from beforeCompletion and preFind
1595 beforeCompletion((EJBContextImpl)inv.context);
H A DEJBTimerService.java2709 public void beforeCompletion() {} method in class:EJBTimerService.TimerSynch
H A DStatefulSessionContainer.java232 beforeCompletionMethod = ejbClass.getMethod("beforeCompletion", null);
1819 void beforeCompletion(EJBContextImpl context) { method in class:StatefulSessionContainer
1829 // because beforeCompletion can only be called after
1841 // Error during beforeCompletion, so discard bean: EJB2.0 18.3.3
1848 "beforeCompletion, EJB instance discarded", ex);
/glassfish-3.1.2/persistence/cmp/support-sqlstore/src/main/java/com/sun/jdo/spi/persistence/support/sqlstore/
H A DPersistenceManager.java128 public void beforeCompletion(); method in interface:PersistenceManager
/glassfish-3.1.2/transaction/jts/src/main/java/com/sun/jts/jta/
H A DSynchronizationImpl.java99 sync.beforeCompletion();
119 sync.beforeCompletion();
135 state.beforeCompletion();
H A DTransactionState.java144 synchronized public void beforeCompletion() { method in class:TransactionState
402 // in beforeCompletion() call backs
/glassfish-3.1.2/transaction/jts/src/main/java/com/sun/jts/CosTransactions/
H A DXATerminatorImpl.java99 // Synchronizers invoked by coord.beforeCompletion must be
102 // in method javax.Synchronization.beforeCompletion
137 coord.beforeCompletion();
166 // beforeCompletion calls in prepare phase of one phase commit.
224 // Synchronizers invoked by coord.beforeCompletion must be
227 // in method javax.Synchronization.beforeCompletion
254 coord.beforeCompletion();
H A DCoordinatorSynchronizationImpl.java181 coordinator.beforeCompletion();
H A DCoordinatorTerm.java279 ((TopCoordinator)coordinator).beforeCompletion();
H A DTopCoordinator.java2525 synchronized void beforeCompletion() throws INVALID_TRANSACTION { method in class:TopCoordinator
/glassfish-3.1.2/transaction/jta-xa/src/test/java/com/sun/enterprise/transaction/xa/
H A DAppTest.java166 assertTrue ("beforeCompletion was not called", s.called_beforeCompletion);
223 assertFalse ("beforeCompletion was called", s.called_beforeCompletion);
290 public void beforeCompletion() { method in class:AppTest.TestSync
291 System.out.println("**Called beforeCompletion **");
/glassfish-3.1.2/transaction/jta/src/main/java/com/sun/enterprise/transaction/
H A DJavaEETransactionImpl.java431 // call beforeCompletion
435 sync.beforeCompletion();
451 sync.beforeCompletion();
464 // check rollbackonly again, in case any of the beforeCompletion
H A DJavaEETransactionManagerSimplified.java1577 public void beforeCompletion() {} method in class:JavaEETransactionManagerSimplified.JTSSynchronization
/glassfish-3.1.2/persistence/cmp/support-sqlstore/src/main/java/com/sun/jdo/spi/persistence/support/sqlstore/impl/
H A DTransactionImpl.java90 * transaction system. For example, Synchronization.beforeCompletion()
673 public void beforeCompletion() { method in class:TransactionImpl
678 "transaction.transactionimpl.nonmgd", "beforeCompletion")); //NOI18N
747 * beforeCompletion() called while still active
1104 // (i.e. beforeCompletion, xaRes.prepare) the lock is released, and
1135 * Notify registered Synchronization interfaces with beforeCompletion().
1148 synchronization.beforeCompletion();
1155 persistenceManager.beforeCompletion();
1401 * In a J2EE RI Connection need to be replaced at the beforeCompletion.
H A DPersistenceManagerImpl.java121 * {@link #beforeCompletion}. If true, then the Version Consistency cache
1352 public void beforeCompletion() { method in class:PersistenceManagerImpl
1926 * in pessimistic transaction. Calls internaly beforeCompletion() to do actual
1928 * @see #beforeCompletion()
1945 beforeCompletion();
/glassfish-3.1.2/connectors/connectors-runtime/src/main/java/com/sun/enterprise/resource/pool/
H A DPoolManagerImpl.java668 public void beforeCompletion() { method in class:PoolManagerImpl.SynchronizationListener
/glassfish-3.1.2/transaction/jta/src/test/java/com/sun/enterprise/transaction/
H A DAppTest.java547 assertTrue ("beforeCompletion was not called", s.called_beforeCompletion);
611 assertFalse ("beforeCompletion was called", s.called_beforeCompletion);
666 System.out.println("**Testing TX commit with exception in beforeCompletion ===>");
668 // Suppress warnings from beforeCompletion() logging
702 assertTrue ("beforeCompletion was not called", s.called_beforeCompletion);
712 System.out.println("**Testing TX commit with exception in InterposedSync in beforeCompletion ===>");
714 // Suppress warnings from beforeCompletion() logging
748 assertTrue ("beforeCompletion was not called", s.called_beforeCompletion);
758 System.out.println("**Testing TX commit with rollback in beforeCompletion ===>");
760 // Suppress warnings from beforeCompletion() loggin
820 public void beforeCompletion() { method in class:AppTest.TestSync
[all...]
/glassfish-3.1.2/transaction/jts/src/test/java/com/sun/enterprise/transaction/jts/
H A DAppTest.java610 assertTrue ("beforeCompletion was not called", s.called_beforeCompletion);
674 assertFalse ("beforeCompletion was called", s.called_beforeCompletion);
729 System.out.println("**Testing TX commit with exception in beforeCompletion of 2PC ===>");
731 // Suppress warnings from beforeCompletion() logging
778 assertTrue ("beforeCompletion was not called", s.called_beforeCompletion);
788 System.out.println("**Testing TX commit with exception in beforeCompletion of 1PC ===>");
790 // Suppress warnings from beforeCompletion() logging
831 assertTrue ("beforeCompletion was not called", s.called_beforeCompletion);
841 System.out.println("**Testing TX commit with exception in InterposedSynchronization in beforeCompletion of 2PC ===>");
843 // Suppress warnings from beforeCompletion() loggin
1460 public void beforeCompletion() { method in class:AppTest.TestSync
[all...]

Completed in 115 milliseconds

12