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
Juergen Hoeller
6563405be5
ImportRegistry as a package-visible top-level interface which can easily be shared within the package
...
Issue: SPR-12128
10 years ago
Phillip Webb
abc343f407
Prevent incorrect ImportAware metdata injection
...
Update ImportRegistry to track all import registrations that occur
against an importing class (rather than just keeping the last). In
addition, prune imported classes from the registry when a configuration
class is removed during the REGISTER_BEAN ConfigurationPhase.
This update prevents incorrect metadata from being injected into an
ImportAware class which is imported twice by different configurations
classes (when one of the configuration classes will be ultimately skipped
due to a @Condition ).
Issue: SPR-12128
10 years ago
Juergen Hoeller
f617d28eef
Polishing
10 years ago
Juergen Hoeller
4432c41dbd
AbstractAutowireCapableBeanFactory avoids early FactoryBean instantiation on currently created configuration bean
...
Issue: SPR-12141
10 years ago
Juergen Hoeller
98eb0f75bc
Polishing
10 years ago
Juergen Hoeller
8c9274e017
LazyInitTargetSource works for @Bean targets as well
...
Issue: SPR-10508
Issue: SPR-8080
10 years ago
Juergen Hoeller
53fbf1a509
ConfigurationClassParser checks REGISTER_BEAN conditions before processing configuration class imports
...
Issue: SPR-12128
10 years ago
Juergen Hoeller
078f23d6e6
Polishing
10 years ago
Juergen Hoeller
9dfbc5326b
Revised ResourcePropertySource in order to avoid ConfigurationClassProcessor's AnnotationPropertySource subclass
...
Issue: SPR-12115
10 years ago
Phillip Webb
84564a0c7b
Rework @PropertySource early parsing logic
...
Rework the @PropertySource parsing logic recently changed in commit
7c608886
to deal with the same source appearing on a @Configuration
class and an @Import class.
Processing now occurs in a single sweep, with any previously added
sources being converted to a CompositePropertySource.
Issue: SPR-12115
10 years ago
Juergen Hoeller
7c6088861f
@PropertySource gets parsed as early as possible
...
Other PropertySources and in particular @ComponentScan can benefit from previously declared property sources on the same configuration class.
Issue: SPR-12110
Issue: SPR-12111
10 years ago
Juergen Hoeller
a000dd782a
ReloadableResourceBundleMessageSource uses ConcurrentHashMaps and ReentrantLocks instead of synchronization
...
Issue: SPR-10500
10 years ago
Juergen Hoeller
b5763fe326
Consistent attribute documentation/formatting in spring-context and spring-mvc schemas
10 years ago
Juergen Hoeller
9d3d6d5919
DefaultListableBeanFactory defensively handles BeanDefinition access in getBean(Class)
...
Issue: SPR-10542
10 years ago
Juergen Hoeller
2ef3d66c89
Polishing
10 years ago
Stephane Nicoll
bccb3bb70b
polishing
10 years ago
Stephane Nicoll
8fc191c95e
Apply AsyncUncaughtExceptionHandler to AspectJ
...
Prior to this commit, only @Async annotated methods with proxy style
had their custom uncaught exception handler applied. This commit
harmonizes the configuration so that AspectJ applies that behaviour as
well.
Issue: SPR-12090
10 years ago
Juergen Hoeller
b3add794d7
Polishing
10 years ago
Juergen Hoeller
d2e269e697
Fixed fragile tests for @Bean method overloading
10 years ago
Juergen Hoeller
69587f3fa4
Polishing
10 years ago
Phillip Webb
e142fd11e0
Add tests for ImportSelector meta-data
...
Issue: SPR-12059
10 years ago
Juergen Hoeller
fd5dbddac4
BeanFactory supports bean creation arguments for by-type lookup as well
...
Issue: SPR-11235
10 years ago
Juergen Hoeller
71c6eb2bb5
Additional configuration classes get detected when imported through XML or registrars
...
Issue: SPR-11430
Issue: SPR-11723
10 years ago
Phillip Webb
ac8326d2df
Polish mockito usage
...
Consistent use of BDDMockito rather than standard Mockito.
10 years ago
Juergen Hoeller
ad475ffadf
Consistent vararg declarations for String array setters
10 years ago
Juergen Hoeller
47006eeff1
Fixed side effect on other tests
...
Issue: SPR-10459
10 years ago
Juergen Hoeller
f2e4ad2364
ComponentScan annotation allows for registering beans with lazy initialization
...
Issue: SPR-10459
10 years ago
Juergen Hoeller
ef51d4dbdb
AnnotatedElementUtils adapts post-processed values to AnnotationAttributes as well
...
Issue: SPR-12065
10 years ago
Juergen Hoeller
3a419872c8
Polishing
10 years ago
Stephane Nicoll
3da68cfe21
Remove unused imports
10 years ago
Juergen Hoeller
9f3c1cf762
Polishing
10 years ago
Juergen Hoeller
036896a6b8
Split configuration constants into local XConfigUtils classes instead of piling them up in AnnotationConfigUtils
10 years ago
Juergen Hoeller
92c657e12d
JmsListener/ScheduledAnnotationBeanPostProcessor uses SmartInitializingSingleton instead of ContextRefreshedEvent
...
Also reducing the container dependencies to BeanFactory instead of ApplicationContext, wherever possible.
Issue: SPR-12039
10 years ago
Juergen Hoeller
78484129f5
ConcurrentMapCacheManager recreates caches in case of setAllowNullValues change
...
Issue: SPR-12026
10 years ago
Juergen Hoeller
496492b2d8
Autowiring rejects self references to a factory method on the same bean as well
...
Issue: SPR-12018
10 years ago
Stephane Nicoll
d9e0b292ab
polishing
10 years ago
Juergen Hoeller
5e2fbe7355
AbstractApplicationContext logs initialization exception before trying to cancel refresh attempt
...
Issue: SPR-12010
10 years ago
Juergen Hoeller
9d6c38bd54
Consistent bracket alignment
10 years ago
Stephane Nicoll
35226695eb
Rename default to testCache in Cache related tests
...
This simply renames the default cache from "default" to "testCache" as
this might be a reserved names for third party cache providers.
10 years ago
Sebastien Deleuze
86e8bdab6b
Make ListenableFuture compliant with Java 8 lambda
...
Make it possible to use a ListenableFuture with Java 8
lambda expressions, using a syntax like
listenableFuture.addCallback(() -> ..., () -> ...);
Issue: SPR-11820
10 years ago
Juergen Hoeller
bad74dc836
Revision of SpelCompiler support, resolving a subpackage cycle through moving CodeFlow and CompilablePropertyAccessor to the main spel package
...
Also contains explicit ClassLoader management, passed through StandardBeanExpressionResolver and SpelParserConfiguration to SpelCompiler lookup.
Issue: SPR-10943
10 years ago