Juergen Hoeller
c08ded769a
Polishing (includes varargs for selected String array setters)
2014-08-09 00:19:56 +02:00
Juergen Hoeller
9ad6618207
Polishing
2014-07-28 22:47:22 +02:00
Juergen Hoeller
6e95b2613e
Polishing
2014-07-24 18:35:49 +02:00
Juergen Hoeller
acbd61b87a
ConcurrentMapCacheManager recreates caches in case of setAllowNullValues change
...
Issue: SPR-12026
(cherry picked from commit 7848412 )
2014-07-24 17:54:22 +02:00
Juergen Hoeller
abd5f18e85
AbstractApplicationContext logs initialization exception before trying to cancel refresh attempt
...
Issue: SPR-12010
(cherry picked from commit 5e2fbe7 )
2014-07-24 17:48:08 +02:00
Juergen Hoeller
adb73d5f35
Remaining polishing
2014-07-08 00:21:17 +02:00
Juergen Hoeller
7eee7d2e30
Polishing
...
Issue: SPR-8045
2014-07-08 00:04:19 +02:00
Juergen Hoeller
48f753f368
Polishing (backported from master)
2014-07-01 12:12:42 +02:00
Juergen Hoeller
c16032b98a
Consistent declaration of private static final logger variables
...
Issue: SPR-11905
(cherry picked from commit 18131bf )
2014-07-01 12:09:29 +02:00
Juergen Hoeller
178d58cc75
ConfigurationClassParser falls back to ASM-based resolution of member classes in case of NoClassDefFoundError
...
Issue: SPR-11844
(cherry picked from commit 6aa9c40 )
2014-07-01 12:02:27 +02:00
Juergen Hoeller
7b38b41bf5
ConfigurationClassPostProcessor skips pre-processed bean definitions now (avoiding side effects in case of multiple CCPPs)
...
Issue: SPR-11858
(cherry picked from commit b625512 )
2014-07-01 12:01:50 +02:00
Juergen Hoeller
0a34f86333
MBeanExportConfiguration's SpecificPlatform properly calls afterPropertiesSet
...
Also makes the nested SpecificPlatform enum public for Spring Boot to reuse it.
Issue: SPR-11877
(cherry picked from commit 6f68b03 )
2014-07-01 11:52:53 +02:00
Rossen Stoyanchev
87077d3fad
Add support for setting removeOnCancelPolicy
...
This change introduces removeOnCancelPolicy on ThreadPoolTaskScheduler
and ScheduledExecutorFactoryBean and sets it to true for SockJS.
This ensures that cancelled tasks are removed immediately to avoid
the "unbounded retention of cancelled tasks" that is mentioned in
the Javadoc ScheduledThreadPoolExecutor:
"By default, such a cancelled task is not automatically removed from
the work queue until its delay elapses. While this enables further
inspection and monitoring, it may also cause unbounded retention of
cancelled tasks. To avoid this, set setRemoveOnCancelPolicy to true,
which causes tasks to be immediately removed from the work queue at
time of cancellation."
This is a backport for:
7441f23012
Issue: SPR-11918
2014-06-29 16:57:58 -04:00
Juergen Hoeller
c70a81a805
Javadoc fixes
2014-05-19 00:08:46 +02:00
Juergen Hoeller
7d78c65187
Properly evaluate @Conditional in case of multiple imports for same config class (fixing regression in Spring Boot)
...
Issue: SPR-11788
2014-05-18 02:00:11 +02:00
Juergen Hoeller
ea9ad4ee9b
Properly evaluate @Conditional in case of multiple imports for same config class
...
Issue: SPR-11788
(cherry picked from commit 52f44b3 )
2014-05-16 15:35:56 +02:00
Juergen Hoeller
93b0f0b126
JRubyScriptUtils defensively handles null Nodes in findClassNode (fails against JRuby 1.7.12 otherwise)
...
Issue: SPR-11747
(cherry picked from commit adb616b )
2014-04-30 14:32:07 +02:00
Juergen Hoeller
bd5b3749c5
Revised @PropertySource parsing for consistent PropertySource naming, avoiding accidental overriding by name
...
Issue: SPR-11637
(cherry picked from commit ab24dda )
2014-04-28 23:47:33 +02:00
Juergen Hoeller
c97c246940
Polishing
2014-04-28 00:29:04 +02:00
Juergen Hoeller
59cef3ce81
General defensiveness about the bootstrap ClassLoader (i.e. null ClassLoader)
...
Issue: SPR-11721
2014-04-28 00:26:18 +02:00
Juergen Hoeller
c8ea80d7ed
Configuration class processing explicitly skips java.* classes since we'll never find @Bean annotations there anyway
...
Issue: SPR-11718
(cherry picked from commit 470e9c8 )
2014-04-28 00:17:19 +02:00
Juergen Hoeller
d28c6d8bdb
Consistent documentation for both 'close' and 'shutdown' as inferred destroy methods
...
Issue: SPR-11680
(cherry picked from commit 14f9dbf )
2014-04-17 21:32:09 +02:00
Stephane Nicoll
2d8e0c8f87
Fix expression cache
...
Prior to this commit, only the java.lang.reflect.Method was used to
identify an annotated method. As a result, if different annotations
were placed on different methods (method overriding, interface
implementation) only the first one (cached) was used.
LazyParamAwareEvaluationContext was affected by the exact
same problem and has been also fixed.
Issue: SPR-11692
(cherry picked from commit df34bab)
2014-04-15 09:29:56 +02:00
Juergen Hoeller
21874627d2
Polishing
...
Issue: SPR-11637
(cherry picked from commit 0041e24 )
2014-04-09 19:00:23 +02:00
Juergen Hoeller
b70148c12d
Consistent PropertyAccessor method order as declared in the interface
...
Issue: SPR-11609
2014-03-26 21:47:56 +01:00
Juergen Hoeller
3388573646
AbstractApplicationEventMulticaster only caches if event type and source type are cache-safe
...
Issue: SPR-11606
2014-03-26 15:29:50 +01:00
Juergen Hoeller
90512f036b
Fixed SPR issue reference and aligned exception messages
...
Issue: SPR-11592
2014-03-26 00:31:38 +01:00
Juergen Hoeller
9fc13e1d23
CacheAspectSupport checks Cache.get(key) once per invocation only
...
Issue: SPR-11592
2014-03-25 23:56:16 +01:00
Juergen Hoeller
3aff973d13
Javadoc: @ComponentScan is subject to @Conditional as well
...
Issue: SPR-11579
2014-03-21 14:32:57 +01:00
Juergen Hoeller
38e7c4776b
Cache.get(key, type) should also work in case of null value found in cache
...
Issue: SPR-11567
2014-03-18 00:50:59 +01:00
Juergen Hoeller
bcde955ec9
Ignore placeholder resolution failure as well in case of ignoreResourceNotFound=true
...
Issue: SPR-11524
2014-03-07 13:39:01 +01:00
Juergen Hoeller
e50cff47c1
KeyGenerators should not return a plain array parameter as raw key but rather always handle that case in a deepHashCode fashion
...
Issue: SPR-11505
2014-03-05 17:37:09 +01:00
Stephane Nicoll
c146be2eb7
Merge pull request #477 from candrews/patch-1
...
* patch-1:
Fix SimpleKey equality with array argument
2014-03-04 14:24:03 +01:00
Craig Andrews
6d8f3a0a20
Fix SimpleKey equality with array argument
...
Prior to this commit, an array argument was not handled properly in
SimpleKey#equals and SimpleKey#hashCode. As a result, two method
invocations with the same array argument lead to two different keys
and therefore two different entries in the cache.
This commit uses deepEquals and deepHashCode to properly handle
methods that have arguments that are array types.
Issue: SPR-11505
2014-03-04 14:18:11 +01:00
Juergen Hoeller
cb41f42791
AbstractApplicationEventMulticaster filters listeners against their type first, avoiding eager retrieval of listener instances for non-matching events
...
Issue: SPR-11501
2014-03-04 13:31:40 +01:00
Sam Brannen
1ac08e4a1b
Polish Javadoc for ConfigurationClassParser
2014-02-26 02:22:32 +01:00
Sam Brannen
ce0d916492
Fix 'method' typo in @PropertySources
2014-02-25 15:56:39 +01:00
Juergen Hoeller
8a96d1a6ee
Polishing
2014-02-14 23:40:03 +01:00
Juergen Hoeller
14e5a02870
Mixed polishing along with recent changes
2014-02-14 21:39:40 +01:00
Juergen Hoeller
d550ffb37f
Clarified CompositeCacheManager's applicability, added convenience constructor with given delegates, and fixed getCacheNames implementation to never return duplicates
...
Issue: SPR-11427
2014-02-14 01:41:53 +01:00
Juergen Hoeller
53aab24690
Polishing
2014-02-09 01:08:56 +01:00
Sam Brannen
c335e99e3f
Remove trailing whitespace from source code
2014-02-08 17:30:39 +01:00
Juergen Hoeller
8c0e3040c2
Polishing
2014-02-07 18:06:13 +01:00
Juergen Hoeller
749b65b0b2
Polishing
2014-02-07 17:42:37 +01:00
Sam Brannen
de5b7a378b
Fix grammar and update link in Javadoc for SimpleThreadScope
2014-02-07 12:27:35 +01:00
Dave Brosius
cdd2324ab5
fix log spelling typo
2014-02-06 19:58:20 -05:00
Juergen Hoeller
8c4e372558
Introduced SpringNamingPolicy for CGLIB
...
Issue: SPR-11398
2014-02-06 20:25:11 +01:00
Juergen Hoeller
5be8301128
Fixed isMatchingFieldError to properly handle empty field name
...
Also avoided unnecessary substring creation for field error access with wildcard.
Issue: SPR-11374
2014-01-31 12:47:08 +01:00
Juergen Hoeller
c1eac209c3
Fixed LiveBeansView to not produce invalid JSON if last bean is not eligible
...
Also introducing overridable isBeanEligible template method.
Issue: SPR-11366
2014-01-30 12:26:22 +01:00
Juergen Hoeller
61b6d398a5
Removed LocalDateToDateMidnightConverter pre-release since DateMidnight is deprecated as of Joda-Time 2.3; marked DateTimeToDateMidnightConverter as deprecated
2014-01-25 15:26:47 +01:00