Costin Leau
1f92a12c1e
moved cache abstraction from context.support to context
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3947 50f2f4bb-b051-0410-bef5-90022cba6387
2011-02-07 17:41:25 +00:00
Costin Leau
6ef2067e3b
+ fixed cache xsd minor typo
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3936 50f2f4bb-b051-0410-bef5-90022cba6387
2011-02-01 10:20:09 +00:00
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
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
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
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
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
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
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
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
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
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 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
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
Rob Harrop
1356f03bcf
[SPR-6048] fixed Exception signature in CronTriggerBean.afterPropertiesSet()
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1854 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-08 21:57:41 +00:00
Juergen Hoeller
cf81f04056
polishing
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1837 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-08 00:05:09 +00:00
Juergen Hoeller
229584370b
updated to EHCache 1.6.0
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1793 50f2f4bb-b051-0410-bef5-90022cba6387
2009-08-31 11:40:48 +00:00
Mark Fisher
cfba7eeee5
added support for ErrorHandler with DelegatingErrorHandlingRunnable in the TimerManagerTaskScheduler
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1706 50f2f4bb-b051-0410-bef5-90022cba6387
2009-08-06 16:36:15 +00:00
Mark Pollack
bed23619b7
SPR-5619
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1506 50f2f4bb-b051-0410-bef5-90022cba6387
2009-07-10 04:02:08 +00:00
Juergen Hoeller
27617da6df
method invocation result gets set as JobExecutionContext result (SPR-5831)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1408 50f2f4bb-b051-0410-bef5-90022cba6387
2009-06-22 17:52:12 +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
Juergen Hoeller
b701d0803c
polishing
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1221 50f2f4bb-b051-0410-bef5-90022cba6387
2009-05-19 22:46:22 +00:00
Juergen Hoeller
e0384568cc
Velocity/FreeMarker/TilesViewResolver only return a view if the target resource exists now
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1172 50f2f4bb-b051-0410-bef5-90022cba6387
2009-05-13 14:26:56 +00:00
Juergen Hoeller
118cf8b4c2
added TaskScheduler interface and Trigger abstraction; added ConcurrentTaskScheduler and ThreadPoolTaskScheduler; added CommonJ TimerManagerTaskScheduler; added CronTrigger implementation for cron expression support
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@802 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-23 14:38:55 +00:00
Juergen Hoeller
f6c70c07c5
generified FactoryBeans and further Java 5 code style updates
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@686 50f2f4bb-b051-0410-bef5-90022cba6387
2009-02-25 00:34:22 +00:00
Juergen Hoeller
18e805eac2
polishing
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@652 50f2f4bb-b051-0410-bef5-90022cba6387
2009-02-18 23:51:03 +00:00
Juergen Hoeller
a3a4171c41
added "Future submit(Runnable)" and "Future submit(Callable)" to AsyncTaskExecutor; SchedulingTaskExecutor interface extends AsyncTaskExecutor; added ExecutorServiceAdapter class as a standard wrapper for a Spring TaskExecutor; added ThreadPoolExecutorFactoryBean; reduced backport-concurrent support to TaskExecutor adapters
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@599 50f2f4bb-b051-0410-bef5-90022cba6387
2009-02-05 22:45:35 +00:00
Juergen Hoeller
4050980b80
all "taskExecutor" bean properties now accept any "java.util.concurrent.Executor"
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@598 50f2f4bb-b051-0410-bef5-90022cba6387
2009-02-05 21:18:10 +00:00
Chris Beams
2796c55974
Whitespace polishing: leading spaces->tabs; updated eclipse configuration to default to leading tabs for all bundles
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@464 50f2f4bb-b051-0410-bef5-90022cba6387
2008-12-18 14:50:25 +00:00
Chris Beams
f01b92fb17
moving .jndi, .mail and .mock.web unit tests from .testsuite to .context, .context.support, and .test bundles respectively
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@444 50f2f4bb-b051-0410-bef5-90022cba6387
2008-12-17 02:20:01 +00:00