Sam Brannen
a4c72c8fcf
Polish integration tests
2 days ago
Juergen Hoeller
7fd0c5041d
Use default ConstraintValidatorFactory for provider-internal validators
...
Closes gh-36012
2 days ago
Juergen Hoeller
d99ace81c1
Enforce publicly accessible method for externalClassLoader(ClassLoader)
...
Closes gh-36012
3 days ago
Sam Brannen
d0be180a69
Make @Retryable and RetryTemplate timeout tests more robust
...
See gh-35963
1 week ago
Sam Brannen
2137ec70d2
Make @Retryable timeout tests more robust
...
See gh-35963
1 week ago
Sam Brannen
b46328a000
Fix broken assertions in @Retryable timeout tests
...
See gh-35963
1 week 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
1 week ago
Sam Brannen
a206ea8b12
Make @Retryable timeout tests more robust
...
See gh-35963
1 week 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
1 week ago
Sam Brannen
103db5429a
Use AtomicIntegerAssert
1 week ago
Sam Brannen
68f8139206
Polishing
1 week ago
Sébastien Deleuze
f19f1a667c
Add support for package-private BeanRegistrar
...
Closes gh-35803
2 weeks ago
Sébastien Deleuze
69207c6c16
Introduce BeanFactoryInitializationCode#getClassName
...
See gh-35803
2 weeks ago
Juergen Hoeller
9d2d9ae0ff
Reinstate stopOrder test
...
See gh-35964
2 weeks ago
Juergen Hoeller
c74af40288
Stop already started Lifecycle beans on cancelled refresh
...
Closes gh-35964
2 weeks ago
Juergen Hoeller
dfc900c7c4
Add @Override to existing resetCaches() methods
...
See gh-35845
See gh-35840
2 weeks ago
Juergen Hoeller
07c0213f20
Polishing
2 weeks ago
Juergen Hoeller
96aadc2b12
Add resetCaches() method to general CacheManager interface
...
Closes gh-35845
See gh-35840
2 weeks ago
Juergen Hoeller
3b90311c17
Revise ApplicationContext#getId() nullability to non-null
...
Closes gh-35925
3 weeks ago
Juergen Hoeller
61d5413c23
Tighten cacheable decision behind @Lazy injection point
...
Closes gh-35917
3 weeks ago
Juergen Hoeller
6c3132cb8c
Narrow method annotation check in hasQualifier to setter methods
...
Closes gh-35908
3 weeks ago
Vincent Potucek
83bbf16e6c
Modernize java.time API usages
...
See gh-35861
Signed-off-by: Vincent Potucek <vpotucek@me.com>
3 weeks 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
3 weeks ago
Juergen Hoeller
35b8fbf901
Remove javadoc references to deprecated PropertiesBeanDefinitionReader
...
Closes gh-35836
4 weeks ago
Juergen Hoeller
57a1d4007b
Fix getCacheNames() concurrent access in NoOpCacheManager
...
Closes gh-35842
4 weeks ago
Juergen Hoeller
bc3431f435
Add resetCaches() method to Caffeine/ConcurrentMapCacheManager
...
Closes gh-35840
4 weeks ago
Juergen Hoeller
de5b9aab55
Narrow Aware interface exclusion check to BeanFactoryAware only
...
Closes gh-35835
4 weeks 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
1 month ago
Tran Ngoc Nhan
18d8d458e3
Fix typos in tests
...
Closes gh-35815
Signed-off-by: Tran Ngoc Nhan <ngocnhan.tran1996@gmail.com>
1 month ago
Juergen Hoeller
39d29c8f7e
Replace ConcurrentReferenceHashMap with synchronized IdentityHashMap
...
Closes gh-35788
1 month ago
Juergen Hoeller
0552cdb7ed
Revise ConcurrentReferenceHashMap for @ConcurrencyLimit race condition
...
Closes gh-35788
See gh-35794
1 month ago
Sam Brannen
24590092ef
Rename maxAttempts to maxRetries in @Retryable and RetryPolicy
...
Prior to this commit, the maximum number of retry attempts was
configured via @Retryable(maxAttempts = ...),
RetryPolicy.withMaxAttempts(), and RetryPolicy.Builder.maxAttempts().
However, this led to confusion for developers who were unsure if
"max attempts" referred to the "total attempts" (i.e., initial attempt
plus retry attempts) or only the "retry attempts".
To improve the programming model, this commit renames maxAttempts to
maxRetries in @Retryable and RetryPolicy.Builder and renames
RetryPolicy.withMaxAttempts() to RetryPolicy.withMaxRetries(). In
addition, this commit updates the documentation to consistently point
out that total attempts = 1 initial attempt + maxRetries attempts.
Closes gh-35772
1 month ago
Sam Brannen
388abf9312
Fix Javadoc link
1 month ago
Sam Brannen
e91befa5bb
Polishing
1 month ago
Juergen Hoeller
38555df3d8
Fix Aware exclusion check to apply to interface method only
...
See gh-35780
1 month ago
Juergen Hoeller
6f81cb625c
Avoid unnecessary bridge method resolution around getMostSpecificMethod
...
Closes gh-35780
1 month ago
Juergen Hoeller
4f97c41e58
Avoid javadoc failure for line break with annotation reference
...
See gh-35736
1 month ago
Juergen Hoeller
b027b73a7a
Relax configuration class requirement in configurer callback javadoc
...
Closes gh-35736
1 month ago
Sam Brannen
ae804cb2d0
Improve @NumberFormat Javadoc
...
See gh-35742
2 months ago
Stefano Cordio
46503d6a45
Fix typo in @NumberFormat Javadoc
...
Closes gh-35742
Signed-off-by: Stefano Cordio <stefano.cordio@gmail.com>
2 months ago
Sam Brannen
205f3e392d
Clean up warnings in tests
2 months ago
Sébastien Deleuze
7509e257d1
Remove outdated Portlet mentions
...
Closes gh-35726
2 months ago
Sébastien Deleuze
4880ed5c33
Deprecate the lang XML namespace
...
And remove the related reference documentation.
Closes gh-35719
2 months ago
Sébastien Deleuze
b1cd508016
Deprecate the BeanShell scripting support
...
Closes gh-35720
2 months ago
Sébastien Deleuze
0bcff38f8e
Polishing
...
Closes gh-34372
2 months ago
Yasumasa Suenaga
706ea2c213
Fix potential CRaC hangup after restoring
...
See gh-34372
Signed-off-by: Yasumasa Suenaga <yasuenag@gmail.com>
2 months ago
Juergen Hoeller
a40647a62f
Remove empty ConstraintValidator#initialize implementations
2 months ago
Sébastien Deleuze
694224f1a6
Remove outdated Spring version mentions
...
Close gh-35696
2 months ago
Sébastien Deleuze
6ac13d16d8
Relax BeanRegistrar checks on bean definition attributes
...
This commit allows legit usage of AutoProxyUtils bean definition
attributes with BeanRegistrar.
Closes gh-35645
2 months ago
Sébastien Deleuze
4356fc11e1
Revert "Add support for callable references to BeanRegistrarDsl"
...
This reverts commit aa9ab8e545 .
See gh-35694
2 months ago