Stephane Nicoll
1c74a1a0fe
Improve allowNullValue handling when a null value is provided
...
This commit improves `AbstractValueAdaptingCache` to throw a dedicated
exception if `allowNullValues` is `false` and a `null` value is provided
anyway. This avoid a lower-level exception from the cache library that
will miss some context.
Issue: SPR-15173
8 years ago
Juergen Hoeller
1ee0626c94
Polishing
8 years ago
Juergen Hoeller
8d707eb530
Polishing
8 years ago
Juergen Hoeller
599c1ba73e
Polishing
8 years ago
Juergen Hoeller
54f01cffaf
Drop weaving support for pre-Servlet-3.1 servers
...
Issue: SPR-14467
8 years ago
Juergen Hoeller
44ec6e0037
Polishing
8 years ago
Juergen Hoeller
e1bb697cf9
Correct explanation of example patterns
...
Issue: SPR-15240
8 years ago
Juergen Hoeller
448ea4cdfe
Consistent logging in ignoreResourceNotFound scenarios
...
Issue: SPR-15218
8 years ago
Juergen Hoeller
5015613934
Enforce delegation through single overridable registerBean method
...
Issue: SPR-14832
8 years ago
Juergen Hoeller
1b2dc3638f
Revisit Assert to avoid single-arg assert methods (with refined messages)
...
Issue: SPR-15196
8 years ago
Stephane Nicoll
d550eb152c
Polish contribution
...
Closes gh-1307
8 years ago
Ruben Dijkstra
f1c7e0f5b2
Check for null on the argument instead of the message
...
See gh-1307
Issue: SPR-15196
8 years ago
Juergen Hoeller
5e946c2700
Consistent type variable resolution for arrays/collections (in particular at field level)
...
Dropping GenericCollectionTypeResolver in favor of direct ResolvableType usage.
Issue: SPR-15160
8 years ago
Juergen Hoeller
7d3fcaa934
Consider abstract classes with @Lookup methods as candidate components
...
Issue: SPR-14550
8 years ago
Juergen Hoeller
6fe7e56598
Document further configuration class restrictions
...
Issue: SPR-14602
8 years ago
Juergen Hoeller
253060c21c
Only expose ASM-driven method order if the methods match
...
Issue: SPR-14505
8 years ago
Juergen Hoeller
a9ae2c3402
Polishing
8 years ago
Juergen Hoeller
e566e25b6f
Clear nonAnnotatedClasses cache in afterSingletonsInstantiated
...
Issue: SPR-15175
8 years ago
Alexey Nikolaenko
644b0b8beb
Fix Javadoc for CronSequenceGenerator
...
Closes gh-1294
8 years ago
Juergen Hoeller
976d32fc59
SimpleApplicationEventMulticaster defensively swallows ClassCastException without message
...
Issue: SPR-15145
8 years ago
Juergen Hoeller
052014783a
Remove outdated BeanFactoryLocator documentation references
...
Issue: SPR-15154
8 years ago
Juergen Hoeller
ac6aa53031
Drop outdated BeanFactoryLocator / beanRefContext.xml mechanism
...
Issue: SPR-15154
8 years ago
Juergen Hoeller
d96738d613
Revised indexer implementation
...
Issue: SPR-11890
8 years ago
Juergen Hoeller
5471d6a465
Revised indexer implementation
...
Issue: SPR-11890
8 years ago
Juergen Hoeller
153fd82946
SimpleApplicationEventMulticaster defensively handles ClassCastException without message
...
Issue: SPR-15145
8 years ago
Juergen Hoeller
e19dff179e
Polishing
8 years ago
Juergen Hoeller
d0e93284f3
SpringValidatorAdapter properly handles HV-5-style list constraint violations
...
Issue: SPR-15082
8 years ago
Juergen Hoeller
b06423a5f8
AbstractMessageSource does not attempt to format code-as-default-message
...
Issue: SPR-15123
8 years ago
Sebastien Deleuze
0a988fd2b1
Remove object wrappers in Kotlin extensions
...
This commit also improve significantly Kotlin extensions
documentation.
Issue: SPR-15127
8 years ago
Sebastien Deleuze
8f14e29067
Support AnnotationConfigApplicationContext{} in Kotlin
...
Issue: SPR-15126
8 years ago
Sebastien Deleuze
f8461d856a
Support Gradle-style Kotlin bean API
...
val context = GenericApplicationContext {
registerBean<Foo>()
registerBean { Bar(it.getBean<Foo>()) }
}
Issue: SPR-15126
8 years ago
Mario Arias
1af905ca0a
Add Model and ModelMap Kotlin extensions
...
Issue: SPR-15119
8 years ago
Sebastien Deleuze
6ee5e2a817
Polishing
...
Issue: SPR-15118
8 years ago
Sebastien Deleuze
c5cfd8c8fc
Make the Kotlin bean registration API even more idiomatic
...
Put the lambda parameter at the end and use a function
instead of a supplier to be able to register beans like this:
val context = GenericApplicationContext()
context.registerBean(Foo::class)
context.registerBean{ Bar(it.getBean(Foo::class)) }
Issue: SPR-15118
8 years ago
Sebastien Deleuze
715274e327
Avoid the need to specify Supplier in Kotlin bean registration API
...
Based on an idea from Mario Arias, we can avoid requiring specifying
explicitly Supplier lambda type in Kotlin API by declaring the supplier
parameter as "crossinline supplier: () -> T" instead of
"supplier: Supplier<T>".
Issue: SPR-15118
8 years ago
Juergen Hoeller
fc629bb508
Polishing
8 years ago
Juergen Hoeller
a5c6658d2c
Track bean dependencies for calls between @Bean methods within @Configuration classes
...
Issue: SPR-15069
8 years ago
Juergen Hoeller
edc62be231
@Scheduled reliably applies after other post-processors and shuts down before TaskScheduler
...
Issue: SPR-14692
Issue: SPR-15067
8 years ago
Juergen Hoeller
209e7a700d
Avoid FactoryBean initialization on isSingleton check for decorated bean definition
...
Issue: SPR-14892
Issue: SPR-15042
8 years ago
Juergen Hoeller
9c62b1eaf7
Polishing
8 years ago
Sebastien Deleuze
58e113a591
Avoid NPE in AutoProxyRegistrar when no attribute found
...
Issue: SPR-15055
8 years ago
Juergen Hoeller
7818c650ba
Cache ASM metadata at the context level (if supported)
...
Includes streamlined ClassPathBeanDefinitionScanner setup.
Issue: SPR-14654
8 years ago
Sebastien Deleuze
6a850ee688
Polishing
8 years ago
Juergen Hoeller
bb94ba6e3f
DateFormatter's ISO patterns use XXX timezone notation (as per SimpleDateFormat's javadoc)
...
Issue: SPR-14675
8 years ago
Sebastien Deleuze
ff675f5226
Add Kotlin extensions for bean registration and retrieval
...
Issue: SPR-15048
8 years ago
Juergen Hoeller
a8741dd371
Polishing
8 years ago
Juergen Hoeller
f805427629
Detect generic type match behind interface-based proxy as well
...
Issue: SPR-14097
8 years ago
Juergen Hoeller
0208198804
Expose reflection metadata with ASM-driven method order
...
Issue: SPR-14505
8 years ago
Juergen Hoeller
ef5c797569
Polishing
8 years ago
Juergen Hoeller
3295a4e6ef
ConfigurationClassParser enforces @Bean declaration order through ASM metadata
...
Issue: SPR-14505
8 years ago