Commit Graph

113 Commits

Author SHA1 Message Date
Juergen Hoeller f2ef44a1a5 EhCacheManagerFactoryBean properly closes "ehcache.xml" input stream, if any (SPR-7813)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3855 50f2f4bb-b051-0410-bef5-90022cba6387
2011-01-05 19:29:07 +00:00
Chris Beams d00b49dca5 Introduce "Aware" superinterface
All existing *Aware interfaces have been refactored to extend this
new marker interface, serving two purposes:

    * Easy access to a type hierarchy that can answer the question
      "What *Aware interfaces are available?", without requiring
      text-based searches. Also clearly excludes false positives like
      TargetClassAware and ParamAware, which while similarly named,
      are not semantically similar to traditional *Aware interfaces
      in Spring.

    * Minor potential performance improvements in
      AbstractAutowireCapableBeanFactory and
      ApplicationContextAwareProcessor. Both have blocks of sequential
      instanceof checks in order to invoke any *Aware interface callback
      methods. For a bean that implements none of these interfaces,
      the whole sequence can be avoided by guarding first with
          if (bean instanceof Aware) {
              ...
          }

Implementors of custom *Aware-style interfaces (and presumably
the BeanPostProcessors that handle them), are encouraged to refactor to
extending this interface for consistency with the framework as well as
the points above.

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3840 50f2f4bb-b051-0410-bef5-90022cba6387
2011-01-03 10:13:57 +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 09ed0d0835 SPR-7308
+ fix initialization problem for root object (inside SpEL eval context)
+ add integration tests for root object expressions


git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3828 50f2f4bb-b051-0410-bef5-90022cba6387
2010-12-21 15:47:22 +00:00
Costin Leau a010a7f63a SPR-7308
+ add check for null key


git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3827 50f2f4bb-b051-0410-bef5-90022cba6387
2010-12-21 15:46:37 +00:00
Costin Leau f4f287050f SPR-7308
SPR-7736
+ clarify storage of null values



git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3823 50f2f4bb-b051-0410-bef5-90022cba6387
2010-12-17 10:15:50 +00:00
Costin Leau 637ce79d9e SPR-7308
+ optimize updating of multiple caches



git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3822 50f2f4bb-b051-0410-bef5-90022cba6387
2010-12-17 09:14:09 +00:00
Costin Leau 49c8df65d7 SPR-7308
+ add missing package javadocs

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3820 50f2f4bb-b051-0410-bef5-90022cba6387
2010-12-16 13:19:34 +00:00
Costin Leau a118023af6 SPR-7308
+ add support for multiple cache names
+ require each annotation to specify a cache name
+ add method support in Key generator interface
+ add bug fix for embedded JDK concurrent declaration

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3819 50f2f4bb-b051-0410-bef5-90022cba6387
2010-12-16 13:19:01 +00:00
Costin Leau 2c7f153336 SPR-7308
+ remove unnecessary methods for EhCacheCache

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3818 50f2f4bb-b051-0410-bef5-90022cba6387
2010-12-16 11:13:43 +00:00
Costin Leau f2ce1f0a22 SPR-7308
+ add updated IDE classpath
+ add updated OSGi manifest

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3790 50f2f4bb-b051-0410-bef5-90022cba6387
2010-10-29 17:17:10 +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 da758771fa consistent use of JDK 1.5's ThreadLocal.remove() over ThreadLocal.set(null), preventing leaks (SPR-7441)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3627 50f2f4bb-b051-0410-bef5-90022cba6387
2010-09-01 17:17:25 +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
Juergen Hoeller 56f7b00dff polishing
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3594 50f2f4bb-b051-0410-bef5-90022cba6387
2010-08-15 23:04:19 +00:00
Juergen Hoeller e7f986cbc7 SpringTemplateLoader supports last-modified timestamp through Resource abstraction (SPR-7454)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3567 50f2f4bb-b051-0410-bef5-90022cba6387
2010-08-12 10:56:28 +00:00
Juergen Hoeller 0855014463 added license header
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3500 50f2f4bb-b051-0410-bef5-90022cba6387
2010-07-23 10:09:33 +00:00
Juergen Hoeller 94d6eb0d3e accept any EHCache 2.x version as well (SPR-7302)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3429 50f2f4bb-b051-0410-bef5-90022cba6387
2010-06-20 18:19:51 +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
Juergen Hoeller ec93f21809 MailSendException includes all messages as failed messages in case of a connect failure (SPR-7245)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3408 50f2f4bb-b051-0410-bef5-90022cba6387
2010-06-10 21:06:13 +00:00
Juergen Hoeller 0ce8c6bf9d set shared variables with configured ObjectWrapper (SPR-7165)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3315 50f2f4bb-b051-0410-bef5-90022cba6387
2010-05-07 15:06:27 +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
Juergen Hoeller dc426b06e3 OSGi version range accepts JasperReports 3.x as well; fixed missing Spring version placeholder in context-support bundle
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3215 50f2f4bb-b051-0410-bef5-90022cba6387
2010-04-01 10:57:15 +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
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
Juergen Hoeller 33e5aa4abf MimeMessageHelper encodes from, to, cc, bcc String addresses with given encoding as well (SPR-6530)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2803 50f2f4bb-b051-0410-bef5-90022cba6387
2010-01-12 13:19:50 +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
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
Mark Fisher 80043c1e1a removed printlns from test
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2484 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-20 21:57:01 +00:00
Mark Fisher 057d31b338 SPR-6354 DefaultLifecycleProcessor no longer waits for the shutdown of SmartLifecycle beans that are not actually running.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2477 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-20 18:09:14 +00:00
Juergen Hoeller d8a4ba240d startup thread marked as daemon now (SPR-6382)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2449 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-19 13:01:20 +00:00
Juergen Hoeller 7de3c1f21b polishing
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2421 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-13 00:10:37 +00:00
Juergen Hoeller 3e50b6eb1b added support for most recent EHCache 1.6 configuration properties to EHCacheFactoryBean (SPR-6234)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2400 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-12 15:15:36 +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
Mark Fisher 94a8a2e4c2 SPR-5507 SchedulerFactoryBean now implements SmartLifecycle instead of ApplicationListener.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2324 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-10 23:25:29 +00:00
Mark Fisher 7fc038cdc8 SPR-6307 Quartz SchedulerFactoryBean now "auto-starts" upon receiving a ContextRefreshedEvent rather than within afterPropertiesSet().
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2274 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-05 23:41:01 +00:00
David Syer c4f25c5640 RESOLVED - issue SPR-6038: HSQLDB+Quarz using data source causes "Unexpected token: FOR in statement " exception
Missing ivy dependency

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2208 50f2f4bb-b051-0410-bef5-90022cba6387
2009-10-27 19:24:15 +00:00
David Syer ab179f9f20 RESOLVED - issue SPR-6038: HSQLDB+Quarz using data source causes "Unexpected token: FOR in statement " exception
Detect HSQL in LocalDataSourceJobStore and force locks to be taken locally (with a SimpleSemaphore)

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2206 50f2f4bb-b051-0410-bef5-90022cba6387
2009-10-27 18:39:42 +00:00
David Syer fa62d4eef3 OPEN - issue SPR-6038: HSQLDB+Quarz using data source causes "Unexpected token: FOR in statement " exception
Convert test case to JUnit 4

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2205 50f2f4bb-b051-0410-bef5-90022cba6387
2009-10-27 18:25:18 +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
Mark Pollack 4e2aaf7934 SPR-6119 - Add slf4j dependency back to orm's pom.xml but in test scope as it is needed to run tests that use Hibernate
SPR-5956 - Remove commons-logging dependency definitions in pom.xml for all but spring-core so as to make exclusion rule easier for user who use slf4j

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2001 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-25 05:16:55 +00:00
Juergen Hoeller b80bc81d7c removed separate placeholder test class
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1999 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-24 22:58:15 +00:00
Mark Pollack 97b13b66d4 pom maintenance - sync with ivy.xml
update junit version in ivy.xml for org.sf.aspects

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1981 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-24 06:09:54 +00:00
Mark Fisher 3823e25d1f SPR-6142 Moved ErrorHandler strategy interface to the org.springframework.util package so that it can be used by MessageListener containers in addition to TaskSchedulers.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1964 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-23 00:44:58 +00:00
Mark Pollack b5e25453d2 pom maintenance
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1952 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-21 07:37:30 +00:00
Rob Harrop 745d40e45d [SPR-5727] CronTriggerBean supports start delay
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1879 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-14 15:53:05 +00:00