Commit Graph

78 Commits

Author SHA1 Message Date
Juergen Hoeller 509930ab35 @Transactional qualifier value matches against @Qualifier annotations on @Bean methods as well (SPR-7232)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3368 50f2f4bb-b051-0410-bef5-90022cba6387
2010-05-26 09:46:03 +00:00
Juergen Hoeller b15ec21c0e only retrieve transaction manager bean if necessary (SPR-7153)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3308 50f2f4bb-b051-0410-bef5-90022cba6387
2010-05-03 12:51:54 +00:00
Juergen Hoeller 7ae7f47951 added javadoc references to semantic definition of transaction attributes (SPR-7029)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3165 50f2f4bb-b051-0410-bef5-90022cba6387
2010-03-24 23:22:52 +00:00
Juergen Hoeller c140717a84 JCA listener containers delegate to wrapped Transaction handle (for Geronimo compatibility; SPR-6991)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3146 50f2f4bb-b051-0410-bef5-90022cba6387
2010-03-23 16:27:34 +00:00
Chris Beams 0041848f1b SPR-7009: TransactionInterceptor now extracts ultimate target class before evaluating @Transactional metadata to accommodate double-proxying cases
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3144 50f2f4bb-b051-0410-bef5-90022cba6387
2010-03-23 12:06:30 +00:00
Juergen Hoeller d609376c10 AopUtils.getTargetClass(...) never returns null (SPR-7011)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3136 50f2f4bb-b051-0410-bef5-90022cba6387
2010-03-22 18:31:13 +00:00
Juergen Hoeller 5a41fc20eb avoid Synchronization List preparations upfront if possible (SPR-6999)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3131 50f2f4bb-b051-0410-bef5-90022cba6387
2010-03-22 14:31:58 +00:00
Juergen Hoeller b6a298d8b3 avoid Synchronization List preparations upfront if possible (SPR-6999)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3128 50f2f4bb-b051-0410-bef5-90022cba6387
2010-03-22 14:23:02 +00:00
Juergen Hoeller 630ecacac9 @Transactional qualifiers work in unit tests as well (SPR-6892)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3100 50f2f4bb-b051-0410-bef5-90022cba6387
2010-03-12 20:44:41 +00:00
Juergen Hoeller c6f1d755b5 included qualifier value in debug log for each transaction (SPR-6811)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2937 50f2f4bb-b051-0410-bef5-90022cba6387
2010-02-09 14:57:17 +00:00
Juergen Hoeller 229c393702 non-matching @Transactional qualifier value will lead to IllegalStateException (SPR-6810)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2933 50f2f4bb-b051-0410-bef5-90022cba6387
2010-02-08 18:32:38 +00:00
Juergen Hoeller 30dfba110d fixed WebSphereUowTransactionManager regression: correctly roll back in case of exception (SPR-6695)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2907 50f2f4bb-b051-0410-bef5-90022cba6387
2010-02-03 19:41:14 +00:00
Juergen Hoeller 9991a013fd TransactionInterceptor is able to serialize "transactionManagerBeanName" as well (SPR-6680)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2889 50f2f4bb-b051-0410-bef5-90022cba6387
2010-02-01 14:45:11 +00:00
Juergen Hoeller 0cac1c6dfc added "alwaysTranslate" flag (SPR-6630)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2804 50f2f4bb-b051-0410-bef5-90022cba6387
2010-01-12 13:26:22 +00:00
Juergen Hoeller dc82280545 added assertion
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2791 50f2f4bb-b051-0410-bef5-90022cba6387
2010-01-07 23:28:25 +00:00
Juergen Hoeller 09e967e61d allow for identifying a specific JBossWorkManagerMBean (SPR-6648)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2778 50f2f4bb-b051-0410-bef5-90022cba6387
2010-01-06 22:15:58 +00:00
Juergen Hoeller c67cca48a6 fixed scoped proxy unwrapping (SPR-6625)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2749 50f2f4bb-b051-0410-bef5-90022cba6387
2010-01-05 12:52:28 +00:00
Juergen Hoeller 5b59b9a0dc avoid hard-coded AOP dependency for ScopedObject check
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2687 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-15 21:20:51 +00:00
Juergen Hoeller b6d0e19958 extended registerAfterCompletionWithExistingTransaction's exception handling to detect JBoss RollbackException as well (SPR-6450)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2598 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-07 20:53:21 +00:00
Juergen Hoeller 3a683ea0ac newTransactionStatus reverted to its original role, just without preparing synchronization (SPR-6521)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2591 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-07 14:27:27 +00:00
Juergen Hoeller ea9f18b8fd initialize synchronization after begin while instantiating TransactionStatus as early as possible (SPR-6409)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2554 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-01 01:32:51 +00:00
Mark Fisher 8e92336f2b 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.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2501 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-24 16:07:23 +00:00
Juergen Hoeller 39bf8dc02e added chaining-capable "add" method to MutablePropertyValues
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2462 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-19 22:30:35 +00:00
Juergen Hoeller 0da90e38cf TransactionTemplate catches undeclared checked exception and rethrows it as UndeclaredThrowableException (SPR-6361)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2455 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-19 16:36:15 +00:00
Mark Fisher 5c1a7cc953 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).
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2368 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-12 02:09:44 +00:00
Thomas Risberg 777c40f667 added unwrapping of scoped proxy tp unwrapResourceIfNecessary() (SPR-5671)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2336 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-11 18:16:41 +00:00
Mark Fisher 00fafe3f5e SPR-5507 GenericMessageEndpointManager now implements SmartLifecycle instead of ApplicationListener.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2311 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-10 12:59:50 +00:00
Juergen Hoeller df0b4d3854 WebSphereUowTransactionManager suspends synchronizations even without existing transaction (SPR-6167)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2302 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-09 19:59:27 +00:00
Mark Fisher b47eebe3c5 SPR-4716 GenericMessageEndpointManager now "auto-starts" upon receiving a ContextRefreshedEvent rather than within afterPropertiesSet().
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2276 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-06 15:24:12 +00:00
Juergen Hoeller 599910699a fixed overview files
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2005 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-25 08:47:18 +00:00
Juergen Hoeller 614f52073c initialize transaction synchronization before doBegin call in order to avoid OutOfMemory failures after resource binding
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1986 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-24 14:02:40 +00:00
Juergen Hoeller c96e42e41e polishing
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1979 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-23 21:19:28 +00:00
Juergen Hoeller 74b4dfc2bf skip processing when no PlatformTransactionManager found (SPR-3955)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1959 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-22 13:31:56 +00:00
Juergen Hoeller ab6805521b revised JTA 1.1 support and javadoc
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1925 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-18 13:48:37 +00:00
Juergen Hoeller 3e5ef8ba7c removed outdated reflection code
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1909 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-17 15:24:24 +00:00
Juergen Hoeller b6587e45c7 Jpa/JdoTransactionManager passes resolved timeout into Jpa/JdoDialect's beginTransaction; HibernateJpaDialect applies timeout onto native Hibernate Transaction before begin call (SPR-5195)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1855 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-08 22:35:32 +00:00
Christian Dupuis 00c922d8b9 remove obsolete xsd
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1757 50f2f4bb-b051-0410-bef5-90022cba6387
2009-08-24 23:09:25 +00:00
Juergen Hoeller 4db47a01d8 added test with custom repository annotation
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1719 50f2f4bb-b051-0410-bef5-90022cba6387
2009-08-08 13:57:05 +00:00
Juergen Hoeller 298909bcfc polishing
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1579 50f2f4bb-b051-0410-bef5-90022cba6387
2009-07-21 14:19:18 +00:00
Juergen Hoeller ab4addae84 WebSphereUowTransactionManager falls back to UOWManagerFactory lookup by default
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1578 50f2f4bb-b051-0410-bef5-90022cba6387
2009-07-21 14:18:53 +00:00
Christian Dupuis b8811bb720 STS-260: added missing import-package headers so that editor works again
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1560 50f2f4bb-b051-0410-bef5-90022cba6387
2009-07-20 08:46:19 +00:00
Sam Brannen aef72ba508 [SPR-5895] Upgraded to EasyMock 2.5.1.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1462 50f2f4bb-b051-0410-bef5-90022cba6387
2009-07-03 09:32:15 +00:00
Juergen Hoeller 661c96a5ca prepared 3.0 versions of the remaining namespaces
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1306 50f2f4bb-b051-0410-bef5-90022cba6387
2009-06-03 10:29:17 +00:00
Chris Beams 49b6bbc8fa RESOLVED - SPR-5523: Replace all 'package.html' artifacts with 'package-info.java'
* Applied patch submitted by Carlos Zuniga


git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1281 50f2f4bb-b051-0410-bef5-90022cba6387
2009-06-01 04:14:22 +00:00
Christian Dupuis fc602eb256 added spring.tooling descriptor and images for all namespaces
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1252 50f2f4bb-b051-0410-bef5-90022cba6387
2009-05-26 11:58:09 +00:00
Sam Brannen 01023ec911 Updated regarding generics; fixed typos.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1245 50f2f4bb-b051-0410-bef5-90022cba6387
2009-05-25 09:04:05 +00:00
Juergen Hoeller 115db84ac0 generified JtaTransactionManager code
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1186 50f2f4bb-b051-0410-bef5-90022cba6387
2009-05-15 15:04:11 +00:00
Juergen Hoeller bfd48b4797 polishing
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1170 50f2f4bb-b051-0410-bef5-90022cba6387
2009-05-12 23:53:45 +00:00
Juergen Hoeller 82b702328e removed WebLogic 7.0 support code
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1151 50f2f4bb-b051-0410-bef5-90022cba6387
2009-05-11 22:47:50 +00:00
Juergen Hoeller 01e336dd5b polishing
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1135 50f2f4bb-b051-0410-bef5-90022cba6387
2009-05-08 23:16:53 +00:00