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
Juergen Hoeller
94cb7786c8
Polishing
9 years ago
Sam Brannen
c6b1f38651
Support @Scheduled as a merged composable annotation
...
Issue: SPR-13973
9 years ago
Sam Brannen
b6d9fd39e6
Support @ManagedNotification & @ManagedOperationParameter as merged annotations
...
Issue: SPR-13973
9 years ago
Juergen Hoeller
517ebd1d3e
Consistent formatting
9 years ago
Juergen Hoeller
9af12d290e
Polishing
9 years ago
Juergen Hoeller
5025c615b1
Consistent use of AnnotatedElementUtils.findMergedAnnotation/hasAnnotation
...
Issue: SPR-13440
9 years ago
Juergen Hoeller
3c18a4533a
Ignored test removed (not intended to work)
...
Issue: SPR-14058
9 years ago
Sam Brannen
59c88eb3c0
Support @Cache* as merged composed annotations
...
Prior to this commit, @Cacheable , @CacheEvict , @CachePut , and @Caching
could be used to create custom stereotype annotations with hardcoded
values for their attributes; however, it was not possible to create
composed annotations with attribute overrides.
This commit addresses this issue by refactoring
SpringCacheAnnotationParser to use the newly introduced
findAllMergedAnnotations() method in AnnotatedElementUtils. As a
result, @Cacheable , @CacheEvict , @CachePut , and @Caching can now be
used to create custom composed annotations with attribute overrides
configured via @AliasFor .
Issue: SPR-13475
9 years ago
Sam Brannen
4cd7ba12bb
Polishing
9 years ago
Juergen Hoeller
a1a06cd665
@EnableScheduling tests do not expect exception in case of scheduler ambiguity anymore
...
Issue: SPR-14030
9 years ago
Sam Brannen
5045579028
Revise EnableSchedulingTests
...
- Fast tests now always run (i.e., are no longer limited to the
performance build
- Failing tests have been @Ignore'd
Issue: SPR-14030
9 years ago
Juergen Hoeller
6e3fac85f3
AnnotationAwareOrderComparator uses DecoratingProxy interface for target class introspection
...
Issue: SPR-13884
9 years ago
Juergen Hoeller
431ca9314a
Leniently allow constructor argument matches if required name is not resolvable
...
Issue: SPR-13987
9 years ago
Juergen Hoeller
a95bf6e0fc
Current InjectionPoint/DependencyDescriptor as factory method argument
...
Issue: SPR-14033
9 years ago
Juergen Hoeller
d2c0885e29
StandardServletEnvironment supports "spring.jndi.ignore" flag for efficient property lookups
...
Issue: SPR-14026
9 years ago
Stephane Nicoll
b1121fba70
Polish
9 years ago
Stephane Nicoll
30d457c622
Deprecate addCache
9 years ago
Sam Brannen
e904ce4ead
Polish QualifierAnnotationAutowireContextTests
9 years ago
Sam Brannen
e83e3ec9de
Add failing test for @Qualifier as composed annotation
...
Issue: SPR-14058
9 years ago
Stephane Nicoll
33a4e9e57f
Prevent non public bean to be exposed to JMX
...
Previously, a package private `@ManagedResource` annotated bean was
registered to the JMX domain even if any attempt to invoke an operation
on it will fail since it has to be public.
This commit validates that any `@ManagedResource` annotated bean is
public and throws an InvalidMetadataException otherwise. Note that the
actual bean type does not have to be public as long as the class
annotated with `@ManagedResource` in the hierarchy is pubic and no extra
operations or attributes are defined on the child.
Issue: SPR-14042
9 years ago
Juergen Hoeller
155fa3754b
Consistent lazy resolution of default executor/scheduler for Async/ScheduledAnnotationBeanPostProcessor
...
Issue: SPR-14030
9 years ago