Commit Graph

88 Commits

Author SHA1 Message Date
Juergen Hoeller
e298c202af @Transactional qualifiers match against transaction manager definitions in parent contexts as well (SPR-7679) 2011-12-11 13:27:08 +00:00
Juergen Hoeller
288408e89f fixed assertion message 2011-12-09 16:01:30 +00:00
Juergen Hoeller
3c5e02a54a JDO PersistenceManager synchronization performs close attempt after completion (if necessary; SPR-8846) 2011-11-28 19:38:38 +00:00
Juergen Hoeller
db0c921313 TransactionSynchronizationManager eagerly cleans up void ResourceHolders on any access (SPR-8844, SPR-8845) 2011-11-28 18:54:20 +00:00
Juergen Hoeller
da36c2b8b8 polishing 2011-08-12 10:03:28 +00:00
Juergen Hoeller
e56cfb8173 consistent use of JDK 1.5's ThreadLocal.remove() over ThreadLocal.set(null), preventing leaks (SPR-7441) 2010-09-01 17:17:25 +00:00
Juergen Hoeller
3963ff6e3b use generic Class<?> in TransactionAttributeSource signature 2010-08-15 21:19:52 +00:00
Juergen Hoeller
99733aef2a introspect superclass when given a CGLIB proxy as target class (SPR-7448); use generic Class<?> in TransactionAttributeSource signature 2010-08-11 21:47:50 +00:00
Juergen Hoeller
4d56b89619 transaction names based on method id from most specific method (target class instead of interface; SPR-7317) 2010-06-28 19:47:13 +00:00
Juergen Hoeller
ef3b70d40a Spring's MessageEndpointFactory classes are now JCA 1.6 compliant as well 2010-06-23 17:23:11 +00:00
Juergen Hoeller
6c6004a93b @Transactional qualifier value matches against @Qualifier annotations on @Bean methods as well (SPR-7232) 2010-05-26 09:46:03 +00:00
Juergen Hoeller
b0afa0c472 only retrieve transaction manager bean if necessary (SPR-7153) 2010-05-03 12:51:54 +00:00
Juergen Hoeller
ab139dffd0 added javadoc references to semantic definition of transaction attributes (SPR-7029) 2010-03-24 23:22:52 +00:00
Juergen Hoeller
4e7752c9ba JCA listener containers delegate to wrapped Transaction handle (for Geronimo compatibility; SPR-6991) 2010-03-23 16:27:34 +00:00
Chris Beams
706a09c49e SPR-7009: TransactionInterceptor now extracts ultimate target class before evaluating @Transactional metadata to accommodate double-proxying cases 2010-03-23 12:06:30 +00:00
Juergen Hoeller
296aa96d71 AopUtils.getTargetClass(...) never returns null (SPR-7011) 2010-03-22 18:31:13 +00:00
Juergen Hoeller
5dc59aaa7b avoid Synchronization List preparations upfront if possible (SPR-6999) 2010-03-22 14:31:58 +00:00
Juergen Hoeller
19b4618fb5 avoid Synchronization List preparations upfront if possible (SPR-6999) 2010-03-22 14:23:02 +00:00
Juergen Hoeller
bb75662a7e @Transactional qualifiers work in unit tests as well (SPR-6892) 2010-03-12 20:44:41 +00:00
Juergen Hoeller
f0bb45ae28 included qualifier value in debug log for each transaction (SPR-6811) 2010-02-09 14:57:17 +00:00
Juergen Hoeller
c5c38c6664 non-matching @Transactional qualifier value will lead to IllegalStateException (SPR-6810) 2010-02-08 18:32:38 +00:00
Juergen Hoeller
41ecbc6814 fixed WebSphereUowTransactionManager regression: correctly roll back in case of exception (SPR-6695) 2010-02-03 19:41:14 +00:00
Juergen Hoeller
df54c8613d TransactionInterceptor is able to serialize "transactionManagerBeanName" as well (SPR-6680) 2010-02-01 14:45:11 +00:00
Juergen Hoeller
2e032889ef added "alwaysTranslate" flag (SPR-6630) 2010-01-12 13:26:22 +00:00
Juergen Hoeller
38f5c7a1d5 added assertion 2010-01-07 23:28:25 +00:00
Juergen Hoeller
2ba1dd47b0 allow for identifying a specific JBossWorkManagerMBean (SPR-6648) 2010-01-06 22:15:58 +00:00
Juergen Hoeller
9ca6003533 fixed scoped proxy unwrapping (SPR-6625) 2010-01-05 12:52:28 +00:00
Juergen Hoeller
fd1bfeefe4 avoid hard-coded AOP dependency for ScopedObject check 2009-12-15 21:20:51 +00:00
Juergen Hoeller
c4d8f6b3eb extended registerAfterCompletionWithExistingTransaction's exception handling to detect JBoss RollbackException as well (SPR-6450) 2009-12-07 20:53:21 +00:00
Juergen Hoeller
93abbd0ef7 newTransactionStatus reverted to its original role, just without preparing synchronization (SPR-6521) 2009-12-07 14:27:27 +00:00
Juergen Hoeller
5165465821 initialize synchronization after begin while instantiating TransactionStatus as early as possible (SPR-6409) 2009-12-01 01:32:51 +00:00
Mark Fisher
021663b12f SPR-5507 The 'shutdownOrder' property of SmartLifecycle has been renamed 'phase'. The order no longer applies to shutdown only; now startup order is determined by the phase value as well. Components start in ascending order and stop in descending order. 2009-11-24 16:07:23 +00:00
Juergen Hoeller
46cd083976 added chaining-capable "add" method to MutablePropertyValues 2009-11-19 22:30:35 +00:00
Juergen Hoeller
a741410421 TransactionTemplate catches undeclared checked exception and rethrows it as UndeclaredThrowableException (SPR-6361) 2009-11-19 16:36:15 +00:00
Mark Fisher
535ec5cffd SPR-5507 Added support for shutdown order on SmartLifecycle. DefaultLifecycleProcessor now manages the shutdown in phases depending on that order (with a timeout value per group). 2009-11-12 02:09:44 +00:00
Thomas Risberg
2b962e7730 added unwrapping of scoped proxy tp unwrapResourceIfNecessary() (SPR-5671) 2009-11-11 18:16:41 +00:00
Mark Fisher
d5fd22c8fe SPR-5507 GenericMessageEndpointManager now implements SmartLifecycle instead of ApplicationListener. 2009-11-10 12:59:50 +00:00
Juergen Hoeller
90f8e5dcf8 WebSphereUowTransactionManager suspends synchronizations even without existing transaction (SPR-6167) 2009-11-09 19:59:27 +00:00
Mark Fisher
d96bea9f6a SPR-4716 GenericMessageEndpointManager now "auto-starts" upon receiving a ContextRefreshedEvent rather than within afterPropertiesSet(). 2009-11-06 15:24:12 +00:00
Juergen Hoeller
09e6a85edd fixed overview files 2009-09-25 08:47:18 +00:00
Juergen Hoeller
557dd1f1c4 initialize transaction synchronization before doBegin call in order to avoid OutOfMemory failures after resource binding 2009-09-24 14:02:40 +00:00
Juergen Hoeller
33265eecbd polishing 2009-09-23 21:19:28 +00:00
Juergen Hoeller
0698947e6d skip processing when no PlatformTransactionManager found (SPR-3955) 2009-09-22 13:31:56 +00:00
Juergen Hoeller
8d66c90760 revised JTA 1.1 support and javadoc 2009-09-18 13:48:37 +00:00
Juergen Hoeller
ad4f50a0d4 removed outdated reflection code 2009-09-17 15:24:24 +00:00
Juergen Hoeller
45dc856993 Jpa/JdoTransactionManager passes resolved timeout into Jpa/JdoDialect's beginTransaction; HibernateJpaDialect applies timeout onto native Hibernate Transaction before begin call (SPR-5195) 2009-09-08 22:35:32 +00:00
Christian Dupuis
a7acea2329 remove obsolete xsd 2009-08-24 23:09:25 +00:00
Juergen Hoeller
3ac3a72e91 added test with custom repository annotation 2009-08-08 13:57:05 +00:00
Juergen Hoeller
54285ea57c polishing 2009-07-21 14:19:18 +00:00
Juergen Hoeller
3f6e4282d6 WebSphereUowTransactionManager falls back to UOWManagerFactory lookup by default 2009-07-21 14:18:53 +00:00