Commit Graph
31 Commits
Author SHA1 Message Date
Chris Beams c3822bd26d Polish @EnableAsync Javadoc and related XSD
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4412 50f2f4bb-b051-0410-bef5-90022cba6387
2011-06-02 14:42:26 +00:00
Chris Beams d9ce5f854c Polish @EnableTransactionManagement Javadoc and XSD
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4411 50f2f4bb-b051-0410-bef5-90022cba6387
2011-06-02 14:29:06 +00:00
Costin Leau 7a91725ba6 revised cache abstraction
- removed generics from Cache/CacheManager (they add no value since it's an SPI not API)
+ update docs and tests
+ renamed ConcurrentCacheFactoryBean to ConcurrentMapCacheFactoryBean

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4326 50f2f4bb-b051-0410-bef5-90022cba6387
2011-05-18 18:34:41 +00:00
Costin Leau 86a499b786 revise cache API
+ update failing AJ test

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4318 50f2f4bb-b051-0410-bef5-90022cba6387
2011-05-17 17:35:01 +00:00
Costin Leau b22e4dc15a revise cache API
- eliminate unneeded methods
+ introduced value wrapper (name still to be decided) to avoid cache race conditions
+ improved name consistency

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4315 50f2f4bb-b051-0410-bef5-90022cba6387
2011-05-17 16:50:00 +00:00
Costin Leau b6b8e8ecdc SPR-8334
+ commit missing configs

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4305 50f2f4bb-b051-0410-bef5-90022cba6387
2011-05-13 15:59:22 +00:00
Chris Beams ae9e165d54 Introduce @EnableTransactionManagement
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4267 50f2f4bb-b051-0410-bef5-90022cba6387
2011-05-06 19:10:25 +00:00
Chris Beams f8d97b009d Introduce @EnableAsync
Introduce @EnableAsync#order

AsyncAnnotationBeanPostProcessor's 'order' property is now mutable;
@EnableAsync's 'order()' attribute allows for setting it, but must
have a default value, thus uses the new Ordered#NOT_ORDERED
constant - a reserved negative number very unlikely to be otherwise
used that may be interpreted as 'not ordered', useful in annotation
defaulting scenarios where null is not an option.

Introduce first working cut of AsyncConfiguration

Remove AsyncCapability

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4265 50f2f4bb-b051-0410-bef5-90022cba6387
2011-05-06 19:08:53 +00:00
Costin Leau 3a5bed2124 + revert back deleted resource
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4068 50f2f4bb-b051-0410-bef5-90022cba6387
2011-03-06 18:19:19 +00:00
Costin Leau fd6bea7b25 + more configuration file
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4067 50f2f4bb-b051-0410-bef5-90022cba6387
2011-03-06 17:14:10 +00:00
Costin Leau 1eb54b700d SPR-8015
+ update default key generator strategy to improve compatibility for implicit declaration on one arg method
+ updated docs


git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4066 50f2f4bb-b051-0410-bef5-90022cba6387
2011-03-06 17:13:24 +00:00
Chris Beams adc9400905 Include license.txt and notice.txt in module JARs
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3967 50f2f4bb-b051-0410-bef5-90022cba6387
2011-02-09 06:56:40 +00:00
Costin Leau 4c8186f2a9 SPR-7308
+ update AJ caching test


git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3821 50f2f4bb-b051-0410-bef5-90022cba6387
2010-12-16 21:25:12 +00:00
Costin Leau 5c534c3757 SPR-7308
+ initial commit of caching abstraction
+ main API
+ Spring AOP and AspectJ support
+ annotation driven, declarative support
+ initial namespace draft

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3789 50f2f4bb-b051-0410-bef5-90022cba6387
2010-10-29 17:00:08 +00:00
Juergen Hoeller 747c192d5c polishing
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3778 50f2f4bb-b051-0410-bef5-90022cba6387
2010-10-20 05:51:51 +00:00
Juergen Hoeller 43f9c8e3c9 added consistent license header
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3774 50f2f4bb-b051-0410-bef5-90022cba6387
2010-10-20 05:19:17 +00:00
Juergen Hoeller 708f816053 added mode="proxy"/"aspectj" and proxy-target-class options to task namespace; switched to concise names for async aspects
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3770 50f2f4bb-b051-0410-bef5-90022cba6387
2010-10-15 20:50:23 +00:00
Juergen Hoeller 7f03e62424 moved async aspect to aspectj sub-package
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3753 50f2f4bb-b051-0410-bef5-90022cba6387
2010-10-13 21:06:38 +00:00
Juergen Hoeller 9f30623403 moved async aspect to aspectj sub-package
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3752 50f2f4bb-b051-0410-bef5-90022cba6387
2010-10-13 20:53:12 +00:00
Ramnivas Laddad e5cb2695d8 SPR-7369: @Async support in spring-aspects with AspectJ
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3715 50f2f4bb-b051-0410-bef5-90022cba6387
2010-10-06 20:13:22 +00:00
Chris Beams 4aa9dd55d3 Remove redundant @Aspect from CodeStyleAspect.aj
This has been present for quite some time, and compilation at the
command line was never a problem.  However, after upgrading to
STS 2.3.3.M2, errors started appearing in the Problems tab about
'duplicate @Aspect annotations'.  This message was a bit misleading
given that the underlying issue is that applying an @Aspect annotation
on an aspect declared in .aj style is redundant.  Andy Clement is
investigating as well, but for now the reason for the change in behavior
remains a mystery.

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3497 50f2f4bb-b051-0410-bef5-90022cba6387
2010-07-21 19:18:11 +00:00
Ramnivas Laddad eeb15e4809 Fixed SPR-6734 by resticting record/replay logic to only entity methods that originated in a test method
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3063 50f2f4bb-b051-0410-bef5-90022cba6387
2010-03-08 20:42:22 +00:00
Ramnivas Laddad c2c8150a35 Modified staticmethod mocking to remove compile-time dependency on JUnit (see ROO-314 and related issues)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2243 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-03 00:51:22 +00:00
Ramnivas Laddad 6f65116a34 Renamed static_mock package to staticmock
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2211 50f2f4bb-b051-0410-bef5-90022cba6387
2009-10-28 01:23:43 +00:00
Ramnivas Laddad 31d7a7a932 Moved over JPA exception translator from Roo
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2207 50f2f4bb-b051-0410-bef5-90022cba6387
2009-10-27 19:15:54 +00:00
Ramnivas Laddad 77bb2bdfb1 Fixed test by moving Delegate to its own file
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2203 50f2f4bb-b051-0410-bef5-90022cba6387
2009-10-27 17:38:50 +00:00
Ramnivas Laddad 6749e50205 Moved over static mock testing from Roo; added tests
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2201 50f2f4bb-b051-0410-bef5-90022cba6387
2009-10-27 17:16:02 +00:00
Ramnivas Laddad 5b2d977324 Fixed a commented test
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2028 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-28 20:55:12 +00:00
Ramnivas Laddad ed8a512832 Fixed SPR-5920 by implementing GenericInterfaceDrivenDependencyInjectionAspect
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1521 50f2f4bb-b051-0410-bef5-90022cba6387
2009-07-12 05:58:55 +00:00
Ramnivas Laddad f7a4741b5d Fixed SPR-5918.
Had to override the test.do definition in build.xml. Need to consult the spring-build team to add the change to spring-build itself. 
Since classes in test sources from another project cannot be shared, had to duplicate those classes.

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1520 50f2f4bb-b051-0410-bef5-90022cba6387
2009-07-12 04:47:59 +00:00
Arjen Poutsma e37be8fcc6 Initial import of the aspects module
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@162 50f2f4bb-b051-0410-bef5-90022cba6387
2008-10-28 11:42:01 +00:00