Commit Graph

75 Commits

Author SHA1 Message Date
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
Juergen Hoeller 3107fec82d fixed aspects bundle to declare dependencies for @Async aspect as well (SPR-7702)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3858 50f2f4bb-b051-0410-bef5-90022cba6387
2011-01-05 19:50:23 +00:00
Sam Brannen 924b8e11ea [SPR-7850][SPR-7851] Upgraded to JUnit 4.8.1 and TestNG 5.12.1; added changelog entries for 3.1.0.M1.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3838 50f2f4bb-b051-0410-bef5-90022cba6387
2010-12-30 08:00:58 +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
David Syer 65d303feaa Add missing JPA dependency
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3798 50f2f4bb-b051-0410-bef5-90022cba6387
2010-11-15 16:54:12 +00:00
Costin Leau 1237c3ab36 SPR-7308
+ add updated IDE classpath
+ add updated OSGi manifest

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3791 50f2f4bb-b051-0410-bef5-90022cba6387
2010-10-29 17:17:38 +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
Chris Beams 45e5b46fc2 Merge 3.1.0 development branch into trunk
Branch in question is 'env' branch from git://git.springsource.org/sandbox/cbeams.git; merged into
git-svn repository with:

    git merge -s recursive -Xtheirs --no-commit env

No merge conflicts, but did need to

    git rm spring-build

prior to committing.

With this change, Spring 3.1.0 development is now happening on SVN
trunk. Further commits to the 3.0.x line will happen in an as-yet
uncreated SVN branch.  3.1.0 snapshots will be available
per the usual nightly CI build from trunk.

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3782 50f2f4bb-b051-0410-bef5-90022cba6387
2010-10-25 19:48:20 +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 e7e39577ed declared JPA API as optional (SPR-6819)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3776 50f2f4bb-b051-0410-bef5-90022cba6387
2010-10-20 05:37:25 +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
Ramnivas Laddad d5bc146653 SPR-7369: @Async support in spring-aspects with AspectJ
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3714 50f2f4bb-b051-0410-bef5-90022cba6387
2010-10-06 20:12:15 +00:00
Costin Leau 1c156cce92 SPR-6819
+ change jpa Maven dependency from provided to compile

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3691 50f2f4bb-b051-0410-bef5-90022cba6387
2010-09-21 23:14:22 +00:00
Ben Hale 82e5f5f5d6 Publishing license and notice files
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3612 50f2f4bb-b051-0410-bef5-90022cba6387
2010-08-23 13:17:31 +00:00
Arjen Poutsma 750dc01862 Prepping for 3.0.5
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3611 50f2f4bb-b051-0410-bef5-90022cba6387
2010-08-19 11:04:04 +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
Costin Leau 9804534efe SPR-6819
+ fix EBR pom as well

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3460 50f2f4bb-b051-0410-bef5-90022cba6387
2010-06-25 09:32:29 +00:00
Arjen Poutsma 7f54fe732f Upgrading version to 3.0.4
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3428 50f2f4bb-b051-0410-bef5-90022cba6387
2010-06-15 14:18:29 +00:00
Costin Leau c04935fc26 SPR-6819
changed JPA dependency to provided

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3425 50f2f4bb-b051-0410-bef5-90022cba6387
2010-06-15 06:33:20 +00:00
Costin Leau 9ed4edfbfd SPR-6819
+ made JPA dependency implicit since the aspect will always require the JPA classes during the weaving process


git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3300 50f2f4bb-b051-0410-bef5-90022cba6387
2010-04-28 10:41:03 +00:00
David Syer faa0f29f0f Update version in POMs to 3.0.3
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3246 50f2f4bb-b051-0410-bef5-90022cba6387
2010-04-15 10:26:14 +00:00
Costin Leau dcf748d4cc SPR-6819
+ changed jpa dependency scope from optional to provided

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3235 50f2f4bb-b051-0410-bef5-90022cba6387
2010-04-08 07:04:40 +00:00
Chris Beams e1d7251ef3 SPR-6538: context-support is no longer marked as an optional dependency within aspects and webmvc POMs
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3138 50f2f4bb-b051-0410-bef5-90022cba6387
2010-03-23 08:15:57 +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
David Syer 25ef81476d Update Central POMs to 3.0.2
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3022 50f2f4bb-b051-0410-bef5-90022cba6387
2010-02-21 15:32:18 +00:00
Costin Leau 4be6044db9 + make use or property placeholders inside template.mf
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3014 50f2f4bb-b051-0410-bef5-90022cba6387
2010-02-19 09:43:22 +00:00
Juergen Hoeller 46d4f3127b added optional JPA dependency to spring-aspects POM (SPR-6819)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2948 50f2f4bb-b051-0410-bef5-90022cba6387
2010-02-10 23:02:31 +00:00
Chris Beams f86e3bcfd2 Updated Eclipse .classpath to aspectj 1.6.8
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2920 50f2f4bb-b051-0410-bef5-90022cba6387
2010-02-04 13:45:14 +00:00
Costin Leau 5e677feda0 + upgrade to AspectJ 1.6.8
+ externalize some of the jar versions
+ align the versions of some dependencies between pom.xml and ivy.xml

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2918 50f2f4bb-b051-0410-bef5-90022cba6387
2010-02-04 11:46:21 +00:00
David Syer e6d2f9428c SPR-6678: fix poms for 3.0.1
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2809 50f2f4bb-b051-0410-bef5-90022cba6387
2010-01-13 11:07:08 +00:00
David Syer 2bad74c238 SPR-5327: tweak the ivy.xml so that commons-logging is a separate configuration. It already comes out as optional in the generated poms (including core), which isn't great, but I can't see what is causing that
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2579 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-04 18:25:31 +00:00
Juergen Hoeller 5560f45f35 fixed dependencies
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2562 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-03 13:15:33 +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 d096a1c428 Mark junit dependency as compile, since aspects depend on it at compile-time
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2226 50f2f4bb-b051-0410-bef5-90022cba6387
2009-10-29 17:18:49 +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 718323f814 Fixed a build issue
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2209 50f2f4bb-b051-0410-bef5-90022cba6387
2009-10-27 19:35:01 +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 473a38b475 Make JUnit a compile-time dependency, since static mock functionality depends on its annotations.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2202 50f2f4bb-b051-0410-bef5-90022cba6387
2009-10-27 17:23:23 +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
Sam Brannen bf92f40724 Cleaning up and upgrading Eclipse classpaths.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2135 50f2f4bb-b051-0410-bef5-90022cba6387
2009-10-16 10:11:10 +00:00