Chris Beams
cbe03093ba
Revert "Revert "Re-enable ignored JMX tests""
...
This reverts commit cc814519c8
.
Issue: SPR-8089
Conflicts:
spring-context/src/test/java/org/springframework/jmx/access/RemoteMBeanClientInterceptorTestsIgnore.java
spring-context/src/test/java/org/springframework/jmx/support/ConnectorServerFactoryBeanTestsIgnore.java
12 years ago
Juergen Hoeller
add6a7faa0
Updated note on Bean Validation 1.1
12 years ago
Phillip Webb
66ae626f91
Only register Date converters with global format
...
Change JodaTimeFormatterRegistrar and DateFormatterRegistrar to only
register converters for the Date and Calendar types when a global format
has been defined. This means that the ObjectToObject converter will
handle String->Date conversion using the deprecated Date(String)
constructor (as was the case with Spring 3.1).
Issue: SPR-10105
12 years ago
Phillip Webb
dbe3c234d6
Polish
12 years ago
Juergen Hoeller
cef97819c5
Fixed regression in SpringValidatorAdapter's retrieval of invalid values
...
Issue: SPR-10243
12 years ago
Phillip Webb
19eecb151b
Add @Ignored Test case to reproduce SPR-10243
...
Issue: SPR-10243
12 years ago
Juergen Hoeller
e9db785799
Polishing
12 years ago
Juergen Hoeller
aa576e70be
Fixed test class name
12 years ago
Juergen Hoeller
a86a77ad81
ConfigurationClassPostProcessor detects covariant return type mismatch, avoiding infinite recursion
...
Issue: SPR-10261
12 years ago
Juergen Hoeller
af8e6255e2
Refined CronSequenceGenerator's rounding up of seconds to address second-specific cron expressions
...
Issue: SPR-9459
12 years ago
Juergen Hoeller
89c3d03083
@Async's qualifier works for target class annotations behind a JDK proxy as well
...
Also optimized AsyncExecutionAspectSupport's Executor-per-Method caching to use a ConcurrentHashMap.
Issue: SPR-10274
12 years ago
Juergen Hoeller
0058503cf0
@Scheduled provides String variants of fixedDelay, fixedRate, initialDelay for placeholder support
...
Issue: SPR-8067
12 years ago
Juergen Hoeller
9255d3038f
@Scheduled provides String variants of fixedDelay, fixedRate, initialDelay for placeholder support
...
Issue: SPR-8067
12 years ago
Juergen Hoeller
b3c9a11bd1
Folded a FactoryBean-specific check into predictBeanType now
...
This change means that we effectively revert SPR-8954's code change in favor of the isFactoryBean implementation simply relying on predictBeanType to sort it out, filtering a post-processed predictedType for FactoryBean applicability.
Issue: SPR-9177
Issue: SPR-9143
12 years ago
Juergen Hoeller
9ffbee332c
Fixed documentation for "depends-on" attribute
12 years ago
Juergen Hoeller
0d66df26da
"depends-on" attribute on lang namespace element actually respected at runtime now
...
Issue: SPR-8625
12 years ago
Phillip Webb
fd831bc19e
Add testMany test to TestGroup.PERFORMANCE
12 years ago
Phillip Webb
b21063ec05
Polish @Test annotation position
12 years ago
Juergen Hoeller
6b82d293d5
ConfigurationClassPostProcessor allows for overriding of scoped-proxy bean definitions
...
Issue: SPR-10265
12 years ago
Phillip Webb
501ce65055
Polish @Configuration javadoc
12 years ago
Phillip Webb
8c2ace33cb
Support 'unless' expression for cache veto
...
Allow @Cachable , @CachePut and equivalent XML configuration to provide
a SpEL expression that can be used to veto putting an item into the
cache. Unlike 'condition' the 'unless' parameter is evaluated after
the method has been called and can therefore reference the #result.
For example:
@Cacheable(value="book",
condition="#name.length < 32",
unless="#result.hardback")
This commit also allows #result to be referenced from @CacheEvict
expressions as long as 'beforeInvocation' is false.
Issue: SPR-8871
12 years ago
Phillip Webb
f464a45ba4
Polish formatting
...
Minor formatting polish across that codebase. Primarily fixing
whitespace issues.
12 years ago
Juergen Hoeller
6d77f1cf3b
ConfigurationClassPostProcessor consistently uses ClassLoader, not loading core JDK annotations via ASM
...
Issue: SPR-10249
12 years ago
Phillip Webb
d89e30b864
Fix unnecessary @SupressWarnings annotations
12 years ago
Phillip Webb
065b1c0e46
Fix unused local variable warnings
12 years ago
Phillip Webb
6a1e841952
Fix unused type compiler warnings
12 years ago
Phillip Webb
88f5dd6ce1
Fix 'is already an instance of type' warnings
12 years ago
Chris Beams
39c00c489e
Avoid UnsupportedOperationEx. with active SecurityManager
...
Issue: SPR-9970
12 years ago
Juergen Hoeller
ede9d535ea
Updated resolvePath javadoc to reflect Environment-based placeholder resolution
...
Issue: SPR-9455
12 years ago
Juergen Hoeller
4c823a3f9b
DisposableBeanAdapter detects "shutdown" as a destroy method as well (for EHCache CacheManager setup)
...
Issue: SPR-9713
12 years ago
Juergen Hoeller
a425d717b7
ThreadPoolExecutorFactoryBean exposes "createExecutor" method for custom ThreadPoolExecutor subclasses
...
Issue: SPR-9435
12 years ago
Juergen Hoeller
4dde7c4c16
MBeanInfoAssembler impls expose actual method parameter names if possible
...
Issue: SPR-9985
12 years ago
Sam Brannen
3b8aba9ccd
Fix typo in ContextLifecycleScheduledTaskRegistrar
12 years ago
Juergen Hoeller
d5af9dc0a5
Polishing
12 years ago
Juergen Hoeller
89db04ec75
Added "awaitTerminationSeconds" property to ThreadPoolTaskExecutor/ThreadPoolTaskScheduler
...
Issue: SPR-5387
12 years ago
Juergen Hoeller
ece727bf57
Introduced NoUniqueBeanDefinitionException as a dedicated subclass of NoSuchBeanDefinitionException
...
Issue: SPR-10194
12 years ago
Juergen Hoeller
0efdd3d566
Aligned XML scheduled-task elements with @Scheduled in terms of kicking in after context refresh
...
Issue: SPR-9231
12 years ago
Juergen Hoeller
8e75eee9b2
SpringValidationAdapter properly detects invalid value for JSR-303 field-level bean constraints
...
Issue: SPR-9332
12 years ago
Phillip Webb
21becef1bd
Support Date to String in JodaTimeConverters
...
Update JodaTimeConverters in include support for Date to String
conversion.
The JodaTimeFormattingTests and DateFormattingTests have been extended
to ensure that Date to String conversion is supported with or without
Joda.
Issue: SPR-10198
12 years ago
Juergen Hoeller
cca255bc79
Added "exposeAccessContext" flag JndiRmiClientInterceptor/ProxyFactoryBean (for WebLogic)
...
Issue: SPR-9428
12 years ago
Juergen Hoeller
3dd817585b
MBeanExporter does not log warnings for manually unregistered MBeans
...
Issue: SPR-9451
12 years ago
Juergen Hoeller
721fa9db6a
SpringBeanAutowiringInterceptor eagerly releases BeanFactory if post-construction fails
...
Issue: SPR-10013
12 years ago
Juergen Hoeller
2cd23a79a3
Polishing
12 years ago
Juergen Hoeller
450dbb2810
Reintroduced "mode" and "proxy-target-class" attributes in spring-task-3.1/3.2.xsd
...
Issue: SPR-10177
12 years ago
Juergen Hoeller
a3211782a6
AbstractCacheManager accepts no caches defined, allowing for EHCache default cache setup
...
Issue: SPR-7955
12 years ago
Rossen Stoyanchev
54c873b4c4
Support multiple Validators in DataBinder
...
DataBinder now allows registering additional Validator instances.
This may be useful when adding a Spring Validator to a globally
registered JSR-303 LocalValidatorFactoryBean.
Issue: SPR-9436
12 years ago
Juergen Hoeller
3a9ca4a6bb
MessageSourceResourceBundle overrides JDK 1.6 containsKey method, avoiding NPE in getKeys
...
Issue: SPR-10136
12 years ago
Chris Beams
662a02b952
Fix several miscellaneous compiler/Eclipse warnings
...
- Suppress an (intentional) AspectJ warning
- Remove unused imports
- Suppress a [hiding] warning
- Fix a generics warning related to extension of final types
Issue: SPR-9431
12 years ago
Chris Beams
51b307681a
Fix warnings due to unused import statements
...
Issue: SPR-9431
12 years ago
Chris Beams
d1e6dbe74a
Update Apache license headers for affected sources
12 years ago