Juergen Hoeller
cdeb1fef5f
Merge branch '5.1.x'
2019-07-20 18:23:00 +02:00
Juergen Hoeller
b1e8ed182e
Polishing
2019-07-20 17:53:54 +02:00
Juergen Hoeller
8ea3aa512f
Merge branch '5.1.x'
2019-07-20 16:35:05 +02:00
Juergen Hoeller
0d37209b78
Document default message handling in MessageSource.getMessage variants
2019-07-20 16:23:31 +02:00
Juergen Hoeller
daf29118a6
Resolve ApplicationListener against BeanDefinition.getResolvableType()
...
This covers ApplicationListener generics in factory method return types in particular but also allows for programmatic setTargetType hints.
Closes gh-23178
2019-07-20 15:05:38 +02:00
Juergen Hoeller
aa9f840938
Merge branch '5.1.x'
2019-07-17 23:35:48 +02:00
Juergen Hoeller
f5daa657f4
Polishing
2019-07-17 23:25:50 +02:00
Juergen Hoeller
9ffdf05d77
Explicit javadoc note on publishEvent hand-off semantics
...
See gh-21025
2019-07-17 23:25:21 +02:00
Juergen Hoeller
ffc1f242ca
Introduce evictIfPresent/invalidate operations on Cache abstraction
...
@CacheEvict.beforeInvocation suggests immediate execution even in case of transactional caches. The cache interceptor delegates to the new evictIfPresent/invalidate operations now which imply immediate execution semantics (and also provide an indication for whether any corresponding entries where present when programmatically called).
Closes gh-23192
2019-07-17 22:37:55 +02:00
Сергей Цыпанов
1728bf17fc
Avoid unnecessary boxing where primitives can be used
...
Closes gh-23267
2019-07-10 16:51:18 +02:00
Juergen Hoeller
a5cb8799fa
Merge branch '5.1.x'
2019-07-05 18:22:02 +02:00
Juergen Hoeller
aeef95938e
SpringValidatorAdapter's ObjectError subclasses are serializable
...
Closes gh-23181
2019-07-05 17:07:01 +02:00
Juergen Hoeller
7bfe01a028
Support for reactive result values from event listener methods
...
Closes gh-21831
2019-07-05 16:19:23 +02:00
Thomas Girard
87c15ba9ad
Use the accepted profiles in BeanDefinitionDsl
...
Closes gh-22393
2019-06-29 17:25:45 +02:00
Sam Brannen
e947e08638
Merge branch '5.1.x'
2019-06-25 13:14:21 +03:00
Sam Brannen
ac29e9de6a
Document that CacheManager.getCache() may create a new Cache
...
Prior to this commit, it was unclear that an invocation of getCache()
might potentially create a new Cache.
This commit updates the Javadoc to point out that concrete CacheManager
implementations may choose to create a new Cache at runtime if the Cache
does not already exist.
Closes gh-23193
2019-06-25 13:12:42 +03:00
Juergen Hoeller
0a77477d32
Merge branch '5.1.x'
2019-06-12 18:16:30 +02:00
Juergen Hoeller
fc46abf0b7
Polishing
2019-06-12 18:04:06 +02:00
Juergen Hoeller
7e02358166
Merge branch '5.1.x'
2019-06-12 00:05:01 +02:00
Juergen Hoeller
33b5bc2aae
Polishing
2019-06-11 23:50:29 +02:00
Phillip Webb
5e505ce3a9
Add FormatterRegistry addPrinter/addParser methods
...
Update `FormatterRegistry` with `addPrinter` and `addParser` methods
that can be used to register Printer or Parser implementations in a
similar way to the existing `addFormatter` method.
Closes gh-23110
2019-06-11 14:47:42 -07:00
Juergen Hoeller
a89bfffd8c
Merge branch '5.1.x'
2019-06-11 23:16:03 +02:00
Juergen Hoeller
7dc92aa05d
Polishing
2019-06-11 20:57:27 +02:00
Sebastien Deleuze
098ac0bbb8
Annotate Object#equals parameter with @Nullable
...
Closes gh-23093
2019-06-06 14:18:30 +02:00
Juergen Hoeller
8f972a5a60
Merge branch '5.1.x'
2019-05-24 23:46:25 +02:00
Juergen Hoeller
4d97a05fbc
SpringValidatorAdapter applies MessageFormat to {0}-containing message
...
Closes gh-23014
2019-05-24 23:31:06 +02:00
Juergen Hoeller
cdf51c3d51
Nullability refinements and related polishing
2019-05-08 00:27:56 +02:00
Phillip Webb
7031964e49
Deprecate StandardMetadata constructors
...
Deprecate the public `StandardMetadata` constructors to make it clearer
that these classes should not be instantiated directly. A new
`AnnotationMetadata.introspect` factory method has been added which
can now be used to obtain instances.
This change will allow use to make the constructors package private
and drop the `nestedAnnotationsAsMap` parameter in a future release.
Closes gh-22906
2019-05-07 23:12:42 +02:00
Juergen Hoeller
fff3813d75
Properly detect importing class metadata for lite configuration class
...
Closes gh-22920
2019-05-07 21:23:47 +02:00
Sam Brannen
ccb01e663a
Merge branch '5.1.x'
2019-05-07 13:03:45 +02:00
Sam Brannen
4aaec942c4
Introduce HTTPS mappings in spring.schemas files
...
Closes gh-22903
2019-05-07 12:56:42 +02:00
Sebastien Deleuze
fc8d5c068c
Support final @Configuration(proxyBeanMethods = false) classes
...
Closes gh-22869
2019-05-03 13:45:14 +02:00
Juergen Hoeller
55418b256d
Merge branch '5.1.x'
2019-04-26 16:56:04 +02:00
Juergen Hoeller
e5e2d2d661
Polishing (includes minor performance refinements from master)
2019-04-26 16:51:18 +02:00
Juergen Hoeller
ad497c259a
Merge branch '5.1.x'
2019-04-25 14:55:04 +02:00
Juergen Hoeller
168a5159b8
Log ClassCastException from lambda-defined listener at trace level
...
Closes gh-22834
2019-04-25 14:31:57 +02:00
Сергей Цыпанов
18af3892dd
Make inner classes static where possible
...
Closes gh-22804
2019-04-17 19:05:24 +02:00
Sam Brannen
5b17bb2e14
Polish Javadoc for @Scheduled
2019-04-09 19:12:06 +02:00
P. Ottlinger
85597f29f2
Improve @Scheduled Javadoc regarding cron element order
...
Closes gh-22777
2019-04-09 19:03:30 +02:00
Juergen Hoeller
fd8fa301a6
Consistent non-exposure of inherited annotations in AnnotationMetadata
...
Closes gh-22766
2019-04-08 15:59:06 +02:00
Sebastien Deleuze
2e7ed915cd
Merge branch '5.1.x'
2019-04-08 15:46:47 +02:00
Juergen Hoeller
43cb1af26a
Polishing
2019-04-08 15:33:26 +02:00
Juergen Hoeller
a1efe3cfe5
Avoid MessageFormat processing for default Bean Validation messages
...
Closes gh-22761
2019-04-08 15:33:04 +02:00
Juergen Hoeller
fc9ce7cd99
Skip plain Java annotations in SourceClass.getAnnotations() upfront
...
Includes direct reflective introspection of annotations when possible.
Closes gh-22750
2019-04-08 15:32:52 +02:00
Juergen Hoeller
9de83674cd
Complete set of registerBean methods on AnnotatedBeanDefinitionReader
...
Includes bringing registerBean constructor-vararg variants up to GenericApplicationContext, making AnnotationConfigApplicationContext a straightforward subclass with a single template method to override.
See gh-22457
2019-04-05 13:56:33 +02:00
stsypanov
383f18e214
Use StringJoiner where possible to simplify String joining
2019-04-04 16:11:32 +02:00
Juergen Hoeller
d39e3cc0ba
Merge branch '5.1.x'
2019-04-03 14:43:22 +02:00
Juergen Hoeller
9ea02c6dfa
Revised javadoc
2019-04-03 14:34:11 +02:00
Juergen Hoeller
c366e205e5
Common constants for default AnnotationBeanNameGenerator instances
...
Closes gh-22591
2019-04-02 16:52:36 +02:00
Juergen Hoeller
03bda29032
Revert "AnnotationConfigRegistry exposes registerBean with supplier/qualifiers"
...
This reverts commit 18f2e6a1
2019-04-02 14:55:13 +02:00