Juergen Hoeller
e892e02f41
Polishing
2017-03-21 17:44:47 +01:00
Juergen Hoeller
fc2e635c05
Lookup methods work on configuration classes as well
...
Issue: SPR-15316
2017-03-07 13:51:43 +01:00
Juergen Hoeller
6d6cf01a42
Polishing
2017-02-28 13:13:23 +01:00
Juergen Hoeller
d003f6614b
Tests for annotation lookups in interfaces (currently ignored for CGLIB proxies)
...
Issue: SPR-15271
Issue: SPR-14949
Issue: SPR-14322
2017-02-28 13:11:15 +01:00
Juergen Hoeller
d4a1b59b4c
Skip transaction/caching metadata retrieval for java.lang.Object methods
...
Also retrieves CacheConfig as merged annotation now, aligned with other caching annotations.
Issue: SPR-15296
2017-02-28 13:08:55 +01:00
Juergen Hoeller
cbd19153c4
Polishing
2017-02-22 16:53:54 +01:00
Juergen Hoeller
f4de1ea147
Polishing
2017-02-22 15:32:19 +01:00
Juergen Hoeller
7fb0ad37da
ConfigurationClassEnhancer explicitly handles non-interceptable FactoryBeans
...
Issue: SPR-15275
2017-02-22 15:32:04 +01:00
Juergen Hoeller
370e3d683a
Polishing
2017-02-20 23:00:12 +01:00
Stephane Nicoll
73909f41cb
Polish
2017-02-20 16:29:05 +01:00
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
2017-02-20 16:08:08 +01:00
Juergen Hoeller
1ee0626c94
Polishing
2017-02-17 21:06:58 +01:00
Juergen Hoeller
8d707eb530
Polishing
2017-02-16 15:37:31 +01:00
Juergen Hoeller
599c1ba73e
Polishing
2017-02-15 18:05:38 +01:00
Juergen Hoeller
54f01cffaf
Drop weaving support for pre-Servlet-3.1 servers
...
Issue: SPR-14467
2017-02-15 18:03:49 +01:00
Juergen Hoeller
44ec6e0037
Polishing
2017-02-13 15:07:07 +01:00
Juergen Hoeller
e1bb697cf9
Correct explanation of example patterns
...
Issue: SPR-15240
2017-02-10 10:56:17 +01:00
Juergen Hoeller
448ea4cdfe
Consistent logging in ignoreResourceNotFound scenarios
...
Issue: SPR-15218
2017-02-10 10:41:10 +01:00
Juergen Hoeller
5015613934
Enforce delegation through single overridable registerBean method
...
Issue: SPR-14832
2017-02-10 10:38:01 +01:00
Juergen Hoeller
1b2dc3638f
Revisit Assert to avoid single-arg assert methods (with refined messages)
...
Issue: SPR-15196
2017-01-30 22:15:55 +01:00
Stephane Nicoll
d550eb152c
Polish contribution
...
Closes gh-1307
2017-01-27 14:17:13 +01:00
Ruben Dijkstra
f1c7e0f5b2
Check for null on the argument instead of the message
...
See gh-1307
Issue: SPR-15196
2017-01-27 14:15:24 +01:00
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
2017-01-24 18:00:17 +01:00
Juergen Hoeller
7d3fcaa934
Consider abstract classes with @Lookup methods as candidate components
...
Issue: SPR-14550
2017-01-23 17:28:18 +01:00
Juergen Hoeller
6fe7e56598
Document further configuration class restrictions
...
Issue: SPR-14602
2017-01-23 13:39:11 +01:00
Juergen Hoeller
253060c21c
Only expose ASM-driven method order if the methods match
...
Issue: SPR-14505
2017-01-23 13:37:22 +01:00
Juergen Hoeller
a9ae2c3402
Polishing
2017-01-23 12:42:01 +01:00
Juergen Hoeller
e566e25b6f
Clear nonAnnotatedClasses cache in afterSingletonsInstantiated
...
Issue: SPR-15175
2017-01-23 12:29:38 +01:00
Alexey Nikolaenko
644b0b8beb
Fix Javadoc for CronSequenceGenerator
...
Closes gh-1294
2017-01-20 17:26:49 +01:00
Juergen Hoeller
976d32fc59
SimpleApplicationEventMulticaster defensively swallows ClassCastException without message
...
Issue: SPR-15145
2017-01-17 20:37:20 +01:00
Juergen Hoeller
052014783a
Remove outdated BeanFactoryLocator documentation references
...
Issue: SPR-15154
2017-01-17 16:03:17 +01:00
Juergen Hoeller
ac6aa53031
Drop outdated BeanFactoryLocator / beanRefContext.xml mechanism
...
Issue: SPR-15154
2017-01-17 13:58:37 +01:00
Juergen Hoeller
d96738d613
Revised indexer implementation
...
Issue: SPR-11890
2017-01-17 12:59:42 +01:00
Juergen Hoeller
5471d6a465
Revised indexer implementation
...
Issue: SPR-11890
2017-01-17 12:46:55 +01:00
Juergen Hoeller
153fd82946
SimpleApplicationEventMulticaster defensively handles ClassCastException without message
...
Issue: SPR-15145
2017-01-16 15:35:18 +01:00
Juergen Hoeller
e19dff179e
Polishing
2017-01-12 21:18:01 +01:00
Juergen Hoeller
d0e93284f3
SpringValidatorAdapter properly handles HV-5-style list constraint violations
...
Issue: SPR-15082
2017-01-12 21:16:56 +01:00
Juergen Hoeller
b06423a5f8
AbstractMessageSource does not attempt to format code-as-default-message
...
Issue: SPR-15123
2017-01-12 21:16:48 +01:00
Sebastien Deleuze
0a988fd2b1
Remove object wrappers in Kotlin extensions
...
This commit also improve significantly Kotlin extensions
documentation.
Issue: SPR-15127
2017-01-11 08:52:01 +01:00
Sebastien Deleuze
8f14e29067
Support AnnotationConfigApplicationContext{} in Kotlin
...
Issue: SPR-15126
2017-01-10 22:47:33 +01:00
Sebastien Deleuze
f8461d856a
Support Gradle-style Kotlin bean API
...
val context = GenericApplicationContext {
registerBean<Foo>()
registerBean { Bar(it.getBean<Foo>()) }
}
Issue: SPR-15126
2017-01-10 21:43:27 +01:00
Mario Arias
1af905ca0a
Add Model and ModelMap Kotlin extensions
...
Issue: SPR-15119
2017-01-10 14:22:54 +01:00
Sebastien Deleuze
6ee5e2a817
Polishing
...
Issue: SPR-15118
2017-01-10 10:54:24 +01:00
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
2017-01-10 10:38:24 +01:00
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
2017-01-09 20:22:30 +01:00
Juergen Hoeller
fc629bb508
Polishing
2016-12-29 22:39:36 +01:00
Juergen Hoeller
a5c6658d2c
Track bean dependencies for calls between @Bean methods within @Configuration classes
...
Issue: SPR-15069
2016-12-29 22:38:00 +01:00
Juergen Hoeller
edc62be231
@Scheduled reliably applies after other post-processors and shuts down before TaskScheduler
...
Issue: SPR-14692
Issue: SPR-15067
2016-12-29 22:35:10 +01:00
Juergen Hoeller
209e7a700d
Avoid FactoryBean initialization on isSingleton check for decorated bean definition
...
Issue: SPR-14892
Issue: SPR-15042
2016-12-28 17:27:06 +01:00
Juergen Hoeller
9c62b1eaf7
Polishing
2016-12-28 17:22:18 +01:00
Sebastien Deleuze
58e113a591
Avoid NPE in AutoProxyRegistrar when no attribute found
...
Issue: SPR-15055
2016-12-27 16:37:01 +01:00
Juergen Hoeller
7818c650ba
Cache ASM metadata at the context level (if supported)
...
Includes streamlined ClassPathBeanDefinitionScanner setup.
Issue: SPR-14654
2016-12-27 13:38:24 +01:00
Sebastien Deleuze
6a850ee688
Polishing
2016-12-27 10:08:12 +01:00
Juergen Hoeller
bb94ba6e3f
DateFormatter's ISO patterns use XXX timezone notation (as per SimpleDateFormat's javadoc)
...
Issue: SPR-14675
2016-12-26 22:31:27 +01:00
Sebastien Deleuze
ff675f5226
Add Kotlin extensions for bean registration and retrieval
...
Issue: SPR-15048
2016-12-26 14:21:10 +01:00
Juergen Hoeller
a8741dd371
Polishing
2016-12-26 11:26:58 +01:00
Juergen Hoeller
f805427629
Detect generic type match behind interface-based proxy as well
...
Issue: SPR-14097
2016-12-26 11:23:07 +01:00
Juergen Hoeller
0208198804
Expose reflection metadata with ASM-driven method order
...
Issue: SPR-14505
2016-12-26 11:00:22 +01:00
Juergen Hoeller
ef5c797569
Polishing
2016-12-23 21:23:30 +01:00
Juergen Hoeller
3295a4e6ef
ConfigurationClassParser enforces @Bean declaration order through ASM metadata
...
Issue: SPR-14505
2016-12-23 20:29:12 +01:00
Juergen Hoeller
f51fe5fd39
Polishing
2016-12-23 12:27:07 +01:00
Juergen Hoeller
e788b8467d
GenericApplicationContext offers Supplier-based registration with BeanDefinitionCustomizer callback
...
Issue: SPR-14832
2016-12-23 12:26:47 +01:00
Juergen Hoeller
154ef8bf10
Polishing
2016-12-20 19:57:52 +01:00
Juergen Hoeller
9005481a49
Supplier registration support for annotated bean classes
...
Issue: SPR-14832
2016-12-20 19:57:44 +01:00
Juergen Hoeller
f6b2a21206
ConfigurationClassPostProcessor programmatically registers unified ImportAwareBeanPostProcessor
...
Issue: SPR-14931
2016-12-20 12:16:16 +01:00
Juergen Hoeller
9c55d22f78
MBeanExporter silently ignores null beans
...
Issue: SPR-15031
2016-12-19 16:02:59 +01:00
Juergen Hoeller
7867e56494
Polishing
2016-12-19 02:00:28 +01:00
Juergen Hoeller
3ee6286eb5
Support for functional instance supplier callback at BeanDefinition level
...
Issue: SPR-14832
2016-12-18 21:05:45 +01:00
Juergen Hoeller
4c005e6336
ResolvableType-based matching respects generic factory method return type
...
Includes consistent use of ResolvableType.resolve() wherever applicable.
Issue: SPR-15011
2016-12-17 23:10:48 +01:00
Juergen Hoeller
23f0418337
LocaleContextHolder provides support for framework-level default settings
...
Issue: SPR-15017
2016-12-15 15:43:40 +01:00
Juergen Hoeller
58eccfe5bd
Remove setExtractOldValueForEditor at DataBinder level (to be deprecated in 4.3.5)
...
Issue: SPR-15009
2016-12-14 22:00:05 +01:00
Kazuki Shimizu
9f229283fb
Support lazy initialization of BindingResult when customize a MessageCodesResolver
...
Issue: SPR-15009
2016-12-14 00:50:25 +09:00
Juergen Hoeller
547b9638dc
Collection injection may refer back to factory methods on same bean again
...
Issue: SPR-14996
2016-12-09 23:09:10 +01:00
Juergen Hoeller
a7ec6dc0af
ImportRegistry properly tracks excluded superclasses
...
Issue: SPR-14972
2016-12-09 15:01:21 +01:00
Juergen Hoeller
313c89dd5c
Overloaded methods with java.time.Instant/Duration parameters
...
Issue: SPR-14875
2016-12-08 18:34:00 +01:00
Juergen Hoeller
845dbf040d
Test injection point match for narrow target return type
...
Issue: SPR-14960
2016-11-30 23:47:32 +01:00
Juergen Hoeller
1ae17c27df
Efficient ISO_LOCAL_* variants for printing LocalDate/LocalTime/LocalDateTime
...
Issue: SPR-14958
2016-11-30 23:41:00 +01:00
Juergen Hoeller
f6b8b84df9
Efficient type plus annotation comparisons during converter retrieval
...
Issue: SPR-14926
Issue: SPR-12926
2016-11-30 22:22:44 +01:00
Juergen Hoeller
10d5926b1a
Direct use of Bean Definition 1.1 ExecutableValidator
...
Issue: SPR-13481
2016-11-29 18:09:13 +01:00
Juergen Hoeller
f065589a37
Avoid defensive casts against Java 8 default methods
...
Issue: SPR-13188
2016-11-29 18:07:46 +01:00
Juergen Hoeller
b22a59a0c4
Polishing
2016-11-24 15:32:06 +01:00
Juergen Hoeller
1f4c6de287
Polishing
2016-11-23 21:10:01 +01:00
Juergen Hoeller
9bf4d7cf4e
Polishing
2016-11-22 14:57:00 +01:00
Juergen Hoeller
85b0ce1ef7
Avoid defensive checks against java.time API
...
Issue: SPR-13188
2016-11-22 14:55:03 +01:00
Juergen Hoeller
da63898d5f
Polishing
2016-11-21 17:36:04 +01:00
Juergen Hoeller
dc8cd4e4c0
Polishing
...
Issue: SPR-14888
2016-11-08 17:26:59 +01:00
Kazuki Shimizu
124f2128fa
Detect invalid configuration for autoGrowCollectionLimit on DataBinder
...
Issue: SPR-14888
2016-11-09 01:00:27 +09:00
Juergen Hoeller
b3cd1ad7f1
Refined throwing of BeanCreationExceptions (and reflection exceptions)
...
Issue: SPR-14883
2016-11-07 19:03:18 +01:00
Rossen Stoyanchev
816e32872a
Reactive support for @ModelAttribute argument
...
Issue: SPR-14542
2016-11-07 15:02:13 +02:00
Rossen Stoyanchev
3230ca6d39
Add ConcurrentModel
...
This commit adds a Model implementation based on ConcurrentHashMap for
use in Spring Web Reactive.
Issue: SPR-14542
2016-11-07 15:02:13 +02:00
Juergen Hoeller
7f4904ed22
Avoid deprecated Mockito methods
...
Issue: SPR-14880
2016-11-04 20:39:53 +01:00
Juergen Hoeller
8df45dd274
@Async docs explicitly mention ListenableFuture and CompletableFuture
...
Issue: SPR-14881
2016-11-04 12:54:24 +01:00
Juergen Hoeller
ac774cdcef
Avoid deprecated Mockito methods
...
Issue: SPR-14880
2016-11-04 12:24:46 +01:00
Juergen Hoeller
8ae0bd6ea9
ApplicationListenerDetector ignores non-managed bean instances
...
Issue: SPR-14879
2016-11-03 22:52:43 +01:00
Juergen Hoeller
8053fefea8
Consistent support for early placeholder resolution in properties locations
...
Issue: SPR-10502
2016-11-03 14:33:48 +01:00
Juergen Hoeller
03468fd9ed
ReloadableResourceBundleMessageSource sets file timestamp on merged holder
...
Issue: SPR-14583
2016-11-03 14:27:44 +01:00
Juergen Hoeller
b07d40cc44
Polishing
...
(cherry picked from commit 77e00f1
)
2016-10-31 20:56:00 +01:00
Juergen Hoeller
ac80ac6f8b
Consistent instanceof/casting of Class references
2016-10-30 21:40:27 +01:00
Juergen Hoeller
2f9ed5917b
Polishing
2016-10-28 23:49:21 +02:00
Juergen Hoeller
dc080cb1be
Revised NoSuchBeanDefinitionException message and ResolvableType handling
...
Includes consistent quoting of qualified type names in related classes.
Issue: SPR-14831
2016-10-28 23:39:05 +02:00