Juergen Hoeller
6a96850aa7
Polishing
10 years ago
Juergen Hoeller
3c3e07e324
Defensive handling of manually registered singleton names (based on Spring Integration test failure)
...
Issue: SPR-12404
10 years ago
Juergen Hoeller
0e36402bd2
Revised retrieval of cache strategy beans
...
Issue: SPR-12336
10 years ago
Juergen Hoeller
65d163e604
Revised scheduling lifecycle integration
...
ScheduledAnnotationBeanPostProcessor uses getBean(Class) for TaskScheduler/ScheduledExecutorService retrieval, allowing for a scheduler bean to be flagged as primary, and for a TaskScheduler bean to override a ScheduledExecutorService bean.
ContextLifecycleScheduledTaskRegistrar hooks into SmartInitializingSingleton's afterSingletonsInstantiated callback instead of ContextRefreshedEvent, as a natural consequence of SmartInitializingSingleton's introduction in Spring Framework 4.1 GA.
10 years ago
Juergen Hoeller
7d2231541b
Unit tests for java.util.Optional with autowired collections on @Autowired fields/methods and @Bean method parameters
...
Issue: SPR-9132
10 years ago
Stephane Nicoll
5aefcc802e
Prevent early bean initialization with @EnableCaching
...
Prior to this commmit, any configuration class holding a CacheManager
bean would be eagerly instantiated. This is because the
CacheConfiguration infrastructure requests all beans of type
CacheManager.
This commit defers the resolution of the CacheManager as late
as possible.
Issue: SPR-12336
10 years ago
Juergen Hoeller
5f160c17cd
MBeanExporter logs lazy bean retrieval exceptions on the server at warn level
...
Issue: SPR-12399
10 years ago
Juergen Hoeller
1146d5ba1d
Polishing
10 years ago
Juergen Hoeller
c7a93a80d4
Configuration class parsing reuses metadata from AnnotatedBeanDefinition as far as possible
...
Issue: SPR-12394
10 years ago
Juergen Hoeller
725ad0df50
SimpleMetadataReaderFactory is capable of resolving inner class names with dot syntax now (analogous to ClassUtils.forName)
...
Issue: SPR-12390
10 years ago
Sang Gi Ryu
d62522982f
Performance improvement
...
Use entrySet instead of keySet followed by a lookup per key as the
former is more efficient.
Issue: SPR-12363
10 years ago
Sam Brannen
4412bc68aa
Polish Javadoc
10 years ago
Juergen Hoeller
2956049c30
Polishing
10 years ago
Juergen Hoeller
a2731f1a4f
Revised test for ImportBeanDefinitionRegistrar double scan
...
Issue: SPR-12334
(cherry picked from commit 6e5711a
)
10 years ago
Juergen Hoeller
38030ef237
Test for ImportBeanDefinitionRegistrar double scan
...
Issue: SPR-12334
10 years ago
Juergen Hoeller
ad62b2afb1
Consistent throwing of BeanInstantiationException for factory methods, including a hint about circular references
...
Issue: SPR-12317
10 years ago
Juergen Hoeller
8325b10080
Consistent formatting of license headers, package javadocs, and import declarations
10 years ago
Juergen Hoeller
77a62ec8b8
Polishing
10 years ago
Juergen Hoeller
01724d3b6d
Explicitly detect (and prevent) private @Scheduled methods on CGLIB proxies
...
Issue: SPR-12308
10 years ago
Juergen Hoeller
70fec47944
Provider declaration for @Value method argument works again
...
Issue: SPR-12297
10 years ago
Juergen Hoeller
05c995cfb3
DecoratingClassLoader and its subclasses register themselves as parallel capable on Java 7+
...
Issue: SPR-12285
10 years ago
Juergen Hoeller
3a3c52dbdd
Polishing
10 years ago
Juergen Hoeller
7f9baa3a09
Polishing
10 years ago
Phillip Webb
3827e048d1
Protect against NPE when escaping LiveBeansView
...
Issue: SPR-12252
10 years ago
Juergen Hoeller
f46c706e44
Bean method metadata exposed through AnnotatedBeanDefinition
...
Issue: SPR-12232
10 years ago
Juergen Hoeller
92f7121478
LiveBeansView escapes double quotes in resource descriptions
...
Issue: SPR-12252
10 years ago
Juergen Hoeller
22c0085ba0
ComponentScanAnnotationParser supports multiple base packages within a single placeholder as well
...
Issue: SPR-10425
10 years ago
Juergen Hoeller
cfc821d179
DataBinder unwraps Optional objects and allows for proper handling of Optional.empty()
...
Issue: SPR-12241
10 years ago
Juergen Hoeller
3836aa051f
Message broker thread pools should be set up in allowCoreThreadTimeOut mode
...
Issue: SPR-12249
10 years ago
Juergen Hoeller
e003d21726
Defensively use setRemoveOnCancelPolicy for JDK 6 compatibility
...
Issue: SPR-12238
10 years ago
Juergen Hoeller
e52f041a78
ComponentScanBeanDefinitionParser supports placeholders for entire base-package specification and for type filter expressions
...
Issue: SPR-10424
Issue: SPR-10425
10 years ago
Juergen Hoeller
5ecdd8ca31
Consistent Environment access in XML bean definition parsing code
...
Issue: SPR-12248
10 years ago
Juergen Hoeller
0934751d7a
BeanWrapper supports traversal of nested paths with Java 8 Optional declarations
...
Issue: SPR-12241
10 years ago
Phillip Webb
4c59d85f69
Be defensive adding additional imported configs
...
Refine the logic introduced in commit 71c6eb2b
so that additional
imported @Configuration classes are not considered as candidates if
they have already been parsed.
Issue: SPR-12233
10 years ago
Juergen Hoeller
16325c2eaa
Polishing
10 years ago
Juergen Hoeller
7f8d611598
Defensive reset/restore of JNDI environment (avoiding test side effects)
...
Issue: SPR-12223
10 years ago
Phillip Webb
a2b983a4e4
Further refine property source ordering
...
Refine property source ordering so that sources already contained in the
environment remain before those added by @PropertySource annotations.
Issue: SPR-12198
10 years ago
Phillip Webb
2077388f38
Improve JNDI detection logic
...
Update JndiLocatorDelegate.isDefaultJndiEnvironmentAvailable() to
call `getEnvironment()` on the `InitialContext` in order to actually
trigger a NamingException if JNDI is not available.
Issue: SPR-12223
10 years ago
Juergen Hoeller
f259ca1b1f
Refined tests for property source ordering
...
Issue: SPR-12198
(cherry picked from commit 205e681
)
10 years ago
Juergen Hoeller
90b93ffe3f
Restored property source ordering (fixing regression from 4.0.x)
...
Issue: SPR-12198
10 years ago
Juergen Hoeller
f4219ca06b
Consistent exclusion of bridge methods in annotation post-processors (for Java 8 compatibility)
...
Issue: SPR-12187
10 years ago
Phillip Webb
70b5f319a9
Support @Ordering of Conditions
...
Update ConditionEvaluator to collect then sort Conditions before
evaluation. By annotating Conditions with @Ordered expensive operations
can be pushed to the back of the queue.
Issue: SPR-12219
10 years ago
Juergen Hoeller
a833889c2a
Polishing
10 years ago
Juergen Hoeller
58b22ceddc
Scheduled/JmsListenerAnnotationBeanPostProcessor avoids needless re-scanning of non-annotated classes
...
Issue: SPR-12189
10 years ago
Juergen Hoeller
40cd277b7e
ReloadableResourceBundleMessageSource prevents accidental exposure of incomplete holder
...
Issue: SPR-12177
10 years ago
Juergen Hoeller
15320db414
Polishing
10 years ago
Juergen Hoeller
824c90d2bf
ConfigurationClassParser avoids double registration of nested classes which extend their containing class
...
Issue: SPR-12195
10 years ago
Juergen Hoeller
20c2ba35dc
Polishing
10 years ago
Juergen Hoeller
c6d29f1a31
Refactored support for @Order on @Bean methods as well as @Priority handling
...
Issue: SPR-11310
Issue: SPR-10548
10 years ago
Juergen Hoeller
2f93759d1b
Cache.get(key, type) explicitly defines an IllegalStateException in case of a type mismatch
...
Issue: SPR-12145
10 years ago