Juergen Hoeller
9410dff99c
AsyncResult allows for exposing an execution exception
...
Issue: SPR-13076
2015-06-04 23:25:18 +02:00
Sam Brannen
0db948e72d
Polish Javadoc for @Scope
2015-06-04 15:42:15 -04:00
Sam Brannen
ff8597fa80
Introduce alias for 'value' attribute in @ComponentScan.Filter
...
Issue: SPR-11393
2015-06-04 15:25:20 -04:00
Sam Brannen
384ee69300
Introduce getAliasedClassArray() in AnnotationAttributes
...
Issue: SPR-11393
2015-06-04 15:23:53 -04:00
Sam Brannen
39e820b4bf
Polish Javadoc for @ComponentScan
2015-06-04 15:20:37 -04:00
Sam Brannen
d4ee75ddf0
Log correct class name for introspection failure
...
Issue: SPR-13091
2015-06-03 21:31:12 -04:00
Sam Brannen
d3b5aeb768
Introduce alias for 'value' attribute in @ImportResource
...
Issue: SPR-11393
2015-06-03 21:26:43 -04:00
Sam Brannen
e5dc6e964c
Introduce getAliasedStringArray() in AnnotationAttributes
...
Issue: SPR-11393
2015-06-03 21:26:43 -04:00
Stephane Nicoll
08c032d9fd
Allow Cache annotations to not specify any cache name
...
Since Spring 4.1, a CacheResolver may be configured to customize the way
the cache(s) to use for a given cache operation are retrieved. Since a
CacheResolver implementation may not use the cache names information at
all, this attribute has been made optional.
However, a fix was still applied, preventing a Cache operation without a
cache name to be defined properly. We now allow this valid use case.
Issue: SPR-13081
2015-06-03 11:42:49 +02:00
Stephane Nicoll
d6056182aa
Polish ConditionalGenericConverter documentation
...
Issue: SPR-13071
2015-06-03 10:31:55 +02:00
Sebastien Deleuze
e5f76af193
Support CORS global configuration in XML namespace
...
This commit introduces support for this kind of CORS XML namespace configuration:
<mvc:cors>
<mvc:mapping path="/api/**"
allowed-origins="http://domain1.com , http://domain2.com "
allowed-methods="GET, PUT"
allowed-headers="header1, header2, header3"
exposed-headers="header1, header2" allow-credentials="false"
max-age="123" />
<mvc:mapping path="/resources/**" allowed-origins="http://domain1.com " />
</mvc:cors>
Issue: SPR-13046
2015-06-02 19:14:12 +02:00
Juergen Hoeller
4f1286a4c3
Lite configuration candidate check defensively handles method introspection failure
...
Issue: SPR-13091
2015-06-02 14:18:00 +02:00
Juergen Hoeller
8c337a48a9
SpringSessionSynchronization's beforeCompletion unbinds after disconnect failure as well
...
Issue: SPR-13089
2015-06-01 20:34:14 +02:00
Juergen Hoeller
11401bd5e4
Upgrade to Hibernate ORM 5.0 RC1 and Hibernate Validator 5.2 RC1
...
Includes other recent dependency updates (JRuby 1.7.20, Jetty 9.2.11, Tomcat 8.0.23, Reactor 2.0.3)
Issue: SPR-13088
2015-06-01 18:35:57 +02:00
Esko Luontola
89c1674b89
Fix missing space in assertion message
2015-06-01 10:56:53 -04:00
Rossen Stoyanchev
4297612e4c
Merge pull request #808 from litpho/SPR-13080
2015-06-01 10:03:49 -04:00
Jasper de Vries
ec4783400c
SPR-13080 SseEventBuilder needs event rather than name
2015-06-01 10:02:28 -04:00
Rossen Stoyanchev
3e74476c11
Polish
2015-06-01 09:48:06 -04:00
Sam Brannen
ab24592662
Introduce alias for 'value' attribute in @SendToUser
...
Issue: SPR-11393
2015-06-01 14:14:23 +02:00
Sam Brannen
53d095aa28
Polish Javadoc for @SubscribeMapping
2015-06-01 13:56:44 +02:00
Sam Brannen
a6f53ef2a7
Polish Javadoc for @MessageMapping
2015-06-01 13:37:08 +02:00
Stephane Nicoll
4ecb8611bc
Merge pull request #811 from izeye/patch-2
...
* patch-2:
Fix typo
2015-06-01 09:21:57 +02:00
izeye
b8d7d46da7
Fix typo
2015-06-01 09:21:38 +02:00
Sam Brannen
81844191f8
Polish Javadoc for @ImportResource
2015-05-31 23:06:15 +02:00
Sam Brannen
4dffeeee64
Introduce alias for 'value' attribute in caching annotations
...
This commit introduces new 'cacheNames' attributes (analogous to the
existing attribute of the same name in @CacheConfig) as aliases for the
'value' attributes in @Cacheable, @CachePut, and @CacheEvict.
In addition, SpringCacheAnnotationParser.getAnnotations() has been
refactored to support synthesized annotations.
Issue: SPR-11393
2015-05-31 22:52:01 +02:00
Sam Brannen
de06f422f3
Polish Javadoc for caching annotations
2015-05-31 22:51:53 +02:00
Sam Brannen
485790dc0e
Introduce alias for 'value' attribute in @RenderMapping
...
Issue: SPR-11393
2015-05-31 21:24:32 +02:00
Sam Brannen
0d6b01b694
Introduce alias for 'value' attribute in @ActionMapping
...
Issue: SPR-11393
2015-05-31 21:08:26 +02:00
Sam Brannen
1a56b47502
Introduce alias for 'value' attribute in @MatrixVariable
...
Issue: SPR-11393
2015-05-31 18:50:35 +02:00
Sam Brannen
60eb9e9ca2
Introduce 'value' alias for 'origin' in @CrossOrigin
...
Issue: SPR-11393
2015-05-31 18:34:01 +02:00
Sam Brannen
f0c0813011
Change semantics of @CrossOrigin's maxAge regarding negative values
2015-05-31 18:20:52 +02:00
Sam Brannen
72b44af862
Introduce test for invalid @CrossOrigin.allowCredentials()
2015-05-31 18:17:52 +02:00
Sam Brannen
891d41c005
Fix typo in Javadoc
2015-05-31 18:13:57 +02:00
Sam Brannen
1b5947bf88
Polish Javadoc for @CrossOrigin
2015-05-31 17:44:45 +02:00
Sam Brannen
9ce7485237
Introduce alias for 'value' attribute in @SessionAttributes
...
Issue: SPR-11393
2015-05-31 17:21:03 +02:00
Sam Brannen
6a5b2672e7
Introduce alias for 'value' attribute in @ResponseStatus
...
Issue: SPR-11393
2015-05-31 17:00:23 +02:00
Sam Brannen
c55486d5d5
Introduce alias for 'value' attribute in @RequestPart
...
Issue: SPR-11393
2015-05-31 16:32:45 +02:00
Sam Brannen
034e0e2cf4
Introduce alias for 'value' attribute in @RequestParam
...
Issue: SPR-11393
2015-05-31 16:20:38 +02:00
Sam Brannen
25a5d9d759
Introduce alias for 'value' attribute in @RequestHeader
...
Issue: SPR-11393
2015-05-31 16:20:33 +02:00
Sam Brannen
c4c3ce796a
Introduce alias for 'value' attribute in @CookieValue
...
Issue: SPR-11393
2015-05-31 16:07:27 +02:00
Sam Brannen
845f4f2bb7
Improve attribute alias support in @ComponentScan
...
Prior to this commit, @ComponentScan already had a value/basePackages
alias pair; however, the semantics were not properly enforced.
This commit addresses this issue by refactoring
ComponentScanAnnotationParser to ensure that it is not possible to
declare both of the aliased attributes. In addition, the 'value' and
'basePackages' attributes are now annotated with @AliasFor in order to
make the semantics clearer.
Issue: SPR-11393
2015-05-31 15:39:15 +02:00
Sam Brannen
94aa90646b
Polish Javadoc for @ComponentScan
2015-05-31 15:32:56 +02:00
Sam Brannen
7b10dc6e93
Fix typo in Javadoc
2015-05-29 23:24:09 +02:00
Sam Brannen
60a5ec87d0
Introduce alias for 'value' attribute in @Header
...
This commit introduces 'name' as an alias for 'value' in @Header.
Issue: SPR-11393
2015-05-29 23:23:52 +02:00
Sam Brannen
35c3e7c0f3
Polishing
2015-05-29 23:10:25 +02:00
Sam Brannen
250787a35a
Introduce alias for 'value' attribute in @Payload
...
This commit introduces 'expression' as an alias for 'value' in @Payload.
Issue: SPR-11393
2015-05-29 22:58:55 +02:00
Sam Brannen
518c85b107
Support synthesized annotations in MethodParameter
2015-05-29 22:48:55 +02:00
Sam Brannen
1afc938da1
Introduce synthesizeAnnotationArray() in AnnotationUtils
2015-05-29 22:45:34 +02:00
Sam Brannen
9f717871e6
Introduce getAnnotation() in AnnotatedElementUtils
...
This commit introduces a "synthesized annotation" alternative to
getAnnotationAttributes() in AnnotatedElementUtils, analogous to the
recently introduced findAnnotation() methods.
Issue: SPR-13082
2015-05-29 22:04:10 +02:00
Sam Brannen
9afcd17c71
Introduce getAnnotationAttributes(..,Class) in AnnoElUtils
2015-05-29 21:36:00 +02:00