Sam Brannen
2d3a2c5cbd
Consistently find @Validated as a meta-annotation at arbitrary depths
...
Prior to this commit, ValidationAnnotationUtils looked up @Validated
as a meta-annotation at arbitrary depths (e.g., when used as a
meta-meta-annotation) in determineValidationGroups() but only as a
"directly present" meta-annotation in determineValidationHints().
For consistency, this commit revises determineValidationHints() so that
it finds @Validated as a meta-annotation at arbitrary depths as well.
Closes gh-36274
1 month ago
rstoyanchev
1bb0fdda6b
Move validation group determination to ValidationAnnotationUtils
...
See gh-36274
1 month ago
Juergen Hoeller
20970a4a37
Repeatedly check status while trying to lock for shutdown
...
Closes gh-36260
1 month ago
Sébastien Deleuze
29d125e659
Add resource hint for BeanRegistrar implementing ImportAware
...
Closes gh-36242
2 months ago
Juergen Hoeller
516bf1c606
Consistently detect resilience annotations on interfaces
...
Closes gh-36233
2 months ago
Juergen Hoeller
5d33de943b
Polishing
2 months ago
Juergen Hoeller
b0ac8df13e
Consistent delegation to target ValidatorFactory
2 months ago
Sébastien Deleuze
bc01eeb433
Leverage JUnit 6 suspending function support
...
Closes gh-36215
2 months ago
Sébastien Deleuze
8fbd147f0b
Upgrade nullability plugin to 0.10.0
...
Closes gh-36188
2 months ago
Sam Brannen
a029dfc6a8
Improve display names for parameterized invocations
...
See gh-35833
2 months ago
Juergen Hoeller
2d2809f45c
Consistently throw Task/InvocationRejectedException on access rejected
...
Closes gh-36167
2 months ago
Juergen Hoeller
169465cce1
Align InvocationRejectedException javadoc with TaskRejectedException
...
See gh-36109
See gh-36114
2 months ago
Juergen Hoeller
38f5f4de8e
Add configurable throttle policy to @ConcurrencyLimit annotation
...
Closes gh-36109
2 months ago
Sébastien Deleuze
46fb7c026c
Upgrade to nullability plugin 0.0.9
...
This commit also replaces Arch Unit packageInfoShouldBeNullMarked() rule
by either configuring requireExplicitNullMarking = false when the whole
module does not have JSpecify annotations, or explicit @NullUnmarked
when some have and some don't.
See gh-36054
3 months ago
木葉 Scarlet
d077e043d6
Consistently declare @Nullable on parameter in equals() implementations
...
Closes gh-36075
Signed-off-by: 木葉 Scarlet <93977077+mukjepscarlet@users.noreply.github.com>
3 months ago
Sam Brannen
7212fbe36a
Polishing
3 months ago
Juergen Hoeller
5b6c231788
Use dedicated ApplicationEventFactory interface in EventPublicationInterceptor
...
See gh-36072
3 months ago
Juergen Hoeller
08104100d3
Introduce generalized MethodFailureEvent for use in EventPublicationInterceptor
...
Closes gh-36072
3 months ago
Juergen Hoeller
92a43c007a
Introduce MethodRetryEvent for @Retryable execution
...
Closes gh-35382
3 months ago
Juergen Hoeller
c813577908
Consistently use DefaultParameterNameDiscoverer.getSharedInstance()
...
This includes MethodParameter resolving getParameterName() by default now.
initParameterNameDiscovery(null) can be used to suppress such resolution.
Closes gh-36024
3 months ago
Sam Brannen
a4c72c8fcf
Polish integration tests
3 months ago
Juergen Hoeller
7fd0c5041d
Use default ConstraintValidatorFactory for provider-internal validators
...
Closes gh-36012
3 months ago
Juergen Hoeller
d99ace81c1
Enforce publicly accessible method for externalClassLoader(ClassLoader)
...
Closes gh-36012
3 months ago
Sam Brannen
d0be180a69
Make @Retryable and RetryTemplate timeout tests more robust
...
See gh-35963
3 months ago
Sam Brannen
2137ec70d2
Make @Retryable timeout tests more robust
...
See gh-35963
3 months ago
Sam Brannen
b46328a000
Fix broken assertions in @Retryable timeout tests
...
See gh-35963
3 months ago
Sam Brannen
cc4c693db7
Log RetryException for @Retryable methods
...
To improve diagnostics, this commit logs a DEBUG message including the
RetryException thrown by RetryTemplate when it's used behind the scenes
for @Retryable method invocations.
Closes gh-35983
3 months ago
Sam Brannen
a206ea8b12
Make @Retryable timeout tests more robust
...
See gh-35963
3 months ago
Sam Brannen
9f1d9fe82c
Support timeouts in @Retryable and RetryPolicy
...
Specifically, this commit introduces:
- timeout and timeoutString attributes in @Retryable
- a default getTimeout() method in RetryPolicy
- a timeout() method in RetryPolicy.Builder
- an onRetryPolicyTimeout() callback in RetryListener
- support for checking exceeded timeouts in RetryTemplate (also used
for imperative method invocations with @Retryable)
- support for checking exceeded timeouts in reactive pipelines with
@Retryable
Closes gh-35963
3 months ago
Sam Brannen
103db5429a
Use AtomicIntegerAssert
3 months ago
Sam Brannen
68f8139206
Polishing
3 months ago
Sébastien Deleuze
f19f1a667c
Add support for package-private BeanRegistrar
...
Closes gh-35803
4 months ago
Sébastien Deleuze
69207c6c16
Introduce BeanFactoryInitializationCode#getClassName
...
See gh-35803
4 months ago
Juergen Hoeller
9d2d9ae0ff
Reinstate stopOrder test
...
See gh-35964
4 months ago
Juergen Hoeller
c74af40288
Stop already started Lifecycle beans on cancelled refresh
...
Closes gh-35964
4 months ago
Juergen Hoeller
dfc900c7c4
Add @Override to existing resetCaches() methods
...
See gh-35845
See gh-35840
4 months ago
Juergen Hoeller
07c0213f20
Polishing
4 months ago
Juergen Hoeller
96aadc2b12
Add resetCaches() method to general CacheManager interface
...
Closes gh-35845
See gh-35840
4 months ago
Juergen Hoeller
3b90311c17
Revise ApplicationContext#getId() nullability to non-null
...
Closes gh-35925
4 months ago
Juergen Hoeller
61d5413c23
Tighten cacheable decision behind @Lazy injection point
...
Closes gh-35917
4 months ago
Juergen Hoeller
6c3132cb8c
Narrow method annotation check in hasQualifier to setter methods
...
Closes gh-35908
4 months ago
Vincent Potucek
83bbf16e6c
Modernize java.time API usages
...
See gh-35861
Signed-off-by: Vincent Potucek <vpotucek@me.com>
4 months ago
Juergen Hoeller
3686b89ab5
Revise proxyTargetClass handling in ResilientMethodsConfiguration and ProxyAsyncConfiguration
...
An annotation-specified proxyTargetClass attribute must only be applied when true, otherwise we need to participate in global defaulting.
Closes gh-35863
4 months ago
Juergen Hoeller
35b8fbf901
Remove javadoc references to deprecated PropertiesBeanDefinitionReader
...
Closes gh-35836
4 months ago
Juergen Hoeller
57a1d4007b
Fix getCacheNames() concurrent access in NoOpCacheManager
...
Closes gh-35842
4 months ago
Juergen Hoeller
bc3431f435
Add resetCaches() method to Caffeine/ConcurrentMapCacheManager
...
Closes gh-35840
4 months ago
Juergen Hoeller
de5b9aab55
Narrow Aware interface exclusion check to BeanFactoryAware only
...
Closes gh-35835
4 months ago
Sam Brannen
fac8708857
Migrate CronTriggerTests to @ParameterizedClass
...
This commit migrates CronTriggerTests to @ParameterizedClass as a proof
of concept for how this can be applied across the code base.
See gh-35833
4 months ago
Tran Ngoc Nhan
18d8d458e3
Fix typos in tests
...
Closes gh-35815
Signed-off-by: Tran Ngoc Nhan <ngocnhan.tran1996@gmail.com>
4 months ago
Juergen Hoeller
39d29c8f7e
Replace ConcurrentReferenceHashMap with synchronized IdentityHashMap
...
Closes gh-35788
4 months ago