Juergen Hoeller
3576ff051c
ScheduledAnnotationBeanPostProcessor properly registers multiple tasks per bean
...
Issue: SPR-14286
8 years ago
Juergen Hoeller
24f5f368b0
Consistent meta-annotation attributes lookup through ASM
...
Issue: SPR-14257
8 years ago
Juergen Hoeller
86557f25af
ConcurrentMapCacheManager recreates caches when initializing ClassLoader
...
Issue: SPR-14314
8 years ago
Juergen Hoeller
98eaf05c8f
@Bean's "autowire" attribute does not affect annotation-driven autowiring
...
Issue: SPR-14282
8 years ago
Juergen Hoeller
03affa02db
ConfigurationClassParser detects @Bean methods in interface hierarchies as well
...
Issue: SPR-14288
8 years ago
Stefan Ferstl
d651ebfd2d
Fix CacheManager example in Javadoc
...
Closes gh-1052
8 years ago
Stephane Nicoll
66bab2a9fc
Revert "Manage asynchronous EventListener with replies"
...
This reverts commit bee1b77af5
.
9 years ago
Juergen Hoeller
1b1aac9172
Unit tests for AsyncResult callback behavior
...
Issue: SPR-14249
9 years ago
Juergen Hoeller
7dc181261e
Polishing
9 years ago
Sam Brannen
a1a87679da
Support test annotations on interfaces
...
Prior to Java 8 it never really made much sense to author integration
tests using interfaces. Consequently, the Spring TestContext Framework
has never supported finding test-related annotations on interfaces in
its search algorithms.
However, Java 8's support for interface default methods introduces new
testing use cases for which it makes sense to declare test
configuration (e.g., @ContextConfiguration , etc.) on an interface
containing default methods instead of on an abstract base class.
This commit ensures that all non-repeatable, class-level test
annotations in the Spring TestContext Framework can now be declared on
test interfaces. The only test annotations that cannot be declared on
interfaces are therefore @Sql and @SqlGroup .
Issue: SPR-14184
9 years ago
Juergen Hoeller
ab478d14fa
ScheduledAnnotationBeanPostProcessor tracks individual bean instances of any scope
...
Issue: SPR-12216
Issue: SPR-12872
9 years ago
Juergen Hoeller
162aedccbe
Polishing
9 years ago
Sam Brannen
7b13311f03
Delete unused imports
9 years ago
Juergen Hoeller
7737c3c7e5
Warn about non-static BeanDefinitionRegistryPostProcessor declarations on @Configuration classes
...
Issue: SPR-14234
9 years ago
Juergen Hoeller
fdb31cd715
Check actual cache value for unwrapped Optional
...
Issue: SPR-14230
9 years ago
Juergen Hoeller
240f254bfc
Allow @Cacheable method to return java.util.Optional variant of cached value
...
Includes renaming of internal delegate to CacheOperationExpressionEvaluator.
Issue: SPR-14230
9 years ago
Juergen Hoeller
9412f7a094
InstantFormatter accepts RFC-1123 values as well
...
Issue: SPR-14201
9 years ago
Juergen Hoeller
e0734aede8
ApplicationListenerDetector explicitly prevents serialization of its ApplicationContext reference
...
Issue: SPR-14214
9 years ago
Juergen Hoeller
b331ad5b2a
Explicit note on scheduled methods with a return value
...
Issue: SPR-14195
9 years ago
Sam Brannen
4a4cd5bde8
Polish CronSequenceGenerator and tests
9 years ago
Ruslan Sibgatullin
31d634e6bf
Added cron expression validation method for CronSequenceGenerator
...
It's handy to know in advance whether or not expression that is
passed to CronSequenceGenerator or CronTrigger constructor would
not results in IllegalArgumentException. The only way to do it
now is to try\catch an instance creation but it's kinda ugly.
9 years ago
Johnny Lim
44e652f99e
Remove duplicate words
...
Closes gh-1039
9 years ago
Stephane Nicoll
bee1b77af5
Manage asynchronous EventListener with replies
...
This commit makes sure to reject an `@EventListener` annotated method
that also uses `@Async`. In such scenario, the method is invoked in a
separate thread and the infrastructure has no handle on the actual reply,
if any.
The documentation has been improved to refer to that scenario.
Issue: SPR-14113
9 years ago
Juergen Hoeller
b28d96af7d
ScheduledAnnotationBeanPostProcessor accepts non-void methods as well
...
Issue: SPR-14175
9 years ago
Juergen Hoeller
999112216d
AopUtils.canApply properly matches package-visible methods (aligned with advice matching within proxies)
...
Also, AbstractAutoProxyCreator considers Pointcut as infrastructure class, analogous to Advice and Advisor.
Issue: SPR-14174
9 years ago
Juergen Hoeller
3b44c47dcd
Polishing
9 years ago
Juergen Hoeller
dcfa4740ee
Polishing
...
(cherry picked from commit 09b7735)
9 years ago
Juergen Hoeller
da112611a5
SpringCacheAnnotationParser properly accepts empty @Caching annotation
...
Issue: SPR-14162
9 years ago
Stephane Nicoll
10554a85c9
Polish
9 years ago
Juergen Hoeller
b6f1afd471
Polishing
9 years ago
Juergen Hoeller
537193a4e0
Consistent license header
9 years ago
Juergen Hoeller
550a3209f7
Fixed XML example for setup of scheduled tasks
...
Issue: SPR-14145
9 years ago
Juergen Hoeller
b82df144e4
LoadTimeWeaver.getThrowawayClassLoader() decorated for exclude support (if necessary)
...
Issue: SPR-13886
9 years ago
Juergen Hoeller
437ffa6067
Detect LoadTimeWeaver bean when declared through @Bean method as well
...
Issue: SPR-10856
9 years ago
Juergen Hoeller
4407bd794d
Polishing
9 years ago
Juergen Hoeller
cb9549655c
AbstractApplicationContext registers default embedded value resolver
...
Issue: SPR-14140
9 years ago
Juergen Hoeller
157dcab56c
Cleanup of remaining direct BeanWrapper usage
...
Issue: SPR-14121
9 years ago
youmoo
1bccc8f1cd
Fix typo
...
Closes gh-1027
9 years ago
Juergen Hoeller
13f889e914
SimpleApplicationEventMulticaster leniently handles ClassCastException
...
Issue: SPR-14109
9 years ago
Juergen Hoeller
696dcb72a5
SpringValidatorAdapter allows for custom field name resolution
...
Issue: SPR-14104
9 years ago
Juergen Hoeller
739ae8c045
LocalValidatorFactoryBean supports custom ValidationProviderResolver
...
Issue: SPR-14100
9 years ago
Juergen Hoeller
14bf6509ec
Consistent cache key implementation across transaction and cache attribute sources
...
Includes consistent applicability of class-level metadata to user-level methods only.
Issue: SPR-14017
Issue: SPR-14095
9 years ago
Sam Brannen
ea09e578b9
Document support for @Cache* as merged composed annotations
...
Issue: SPR-13475
9 years ago
Sam Brannen
2ed3382a60
Document composed support for @Scheduled , @JmsListener , & @Sql
...
Issue: SPR-13973
9 years ago
Sam Brannen
3597879608
Revert merged support for @ManagedNotification & @ManagedOperationParameter
...
This commit reverts the recently added merged annotation support for
Spring's JMX annotations by once again using the simpler searches for
repeatable annotations in AnnotationUtils.
Issue: SPR-13973
9 years ago
Sam Brannen
4fa11e334f
Test @ManagedNotification as a merged, composed annotation
...
Issue: SPR-13973
9 years ago
Juergen Hoeller
54aeb7a5d6
Cache key classes implement Comparable and consistently provide a toString representation
...
Issue: SPR-14017
9 years ago
Sam Brannen
a8b5ea1c51
Polishing
9 years ago
Sam Brannen
4836d06704
Test @Scheduled as a merged composable annotation
...
Issue: SPR-13973
9 years ago
Juergen Hoeller
c6ff0951fc
Polishing
9 years ago