dain 2005/03/01 18:34:37
Modified: modules/core/src/test/org/openejb/timer
TimerServiceImplTest.java
Log:
Changed to use new TransactionManagerContext methods managing bean
transactions
Fixed improper handling of bean transactions in StatefulInstanceInterceptor
Removed excessive handling of bean transactions in the SFSB and SLSB vops
Revision Changes Path
1.8 +2 -2
openejb/modules/core/src/test/org/openejb/timer/TimerServiceImplTest.java
Index: TimerServiceImplTest.java
===================================================================
RCS file:
/home/projects/openejb/scm/openejb/modules/core/src/test/org/openejb/timer/TimerServiceImplTest.java,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- TimerServiceImplTest.java 14 Feb 2005 19:29:51 -0000 1.7
+++ TimerServiceImplTest.java 1 Mar 2005 23:34:37 -0000 1.8
@@ -112,7 +112,7 @@
threadPooledTimer = new ThreadPooledTimer(executableWorkFactory,
workerPersistence, threadPool, transactionContextManager);
threadPooledTimer.doStart();
- TransactionContext.setContext(null);
+ transactionContextManager.setContext(null);
interceptor = new MockInterceptor();
timerService = new BasicTimerServiceImpl(new InvocationFactory(),
interceptor, threadPooledTimer, key, kernelName, timerSourceName,
transactionContextManager, classLoader);