Juergen Hoeller
0f71f58616
Polishing
2017-02-18 00:52:12 +01:00
Juergen Hoeller
5017c05c23
Polishing
...
(cherry picked from commit e9019cd )
2017-02-10 11:47:28 +01:00
Juergen Hoeller
941f3e7166
Clear synchronization before triggering afterCompletion callbacks
...
Issue: SPR-15194
Issue: SPR-11590
(cherry picked from commit b630c9b )
2017-02-10 11:46:13 +01:00
Juergen Hoeller
28849e0987
Revisit Assert to avoid single-arg assert methods (with refined messages)
...
Issue: SPR-15196
(cherry picked from commit 1b2dc36 )
2017-01-31 10:28:46 +01:00
Juergen Hoeller
0296c7c5b6
Stronger explanation of default rollback rules
...
Issue: SPR-14994
(cherry picked from commit 953bc18 )
2016-12-19 00:58:44 +01:00
Juergen Hoeller
01e9307fb7
DataSourceTransactionManager triggers flush callbacks on registered transaction synchronizations
...
Issue: SPR-14847
(cherry picked from commit 2874066 )
2016-10-31 11:44:17 +01:00
Juergen Hoeller
6d95b999ad
DefaultTransactionAttribute stores descriptor (method identification)
...
Issue: SPR-14760
(cherry picked from commit 52b029d )
2016-10-21 12:59:43 +02:00
Juergen Hoeller
29a946163b
Polishing
...
(cherry picked from commit eafaaa5 )
2016-10-12 17:48:33 +02:00
Juergen Hoeller
040d131284
Polishing
...
(cherry picked from commit ce42ed4 )
2016-09-13 22:31:47 +02:00
Juergen Hoeller
37670924f6
Polishing
2016-08-31 01:53:03 +02:00
Juergen Hoeller
3b91dec462
ApplicationListenerMethodAdapter resolves order on construction
...
Issue: SPR-14642
(cherry picked from commit 58fa63f )
2016-08-31 00:44:43 +02:00
Juergen Hoeller
ab686732d0
Refined exception message
...
Issue: SPR-14609
2016-08-24 15:05:43 +02:00
Juergen Hoeller
6d86437369
TransactionAspectSupport stores given PlatformTransactionManager instance as strong reference
...
Issue: SPR-14609
(cherry picked from commit 951ac5e )
2016-08-24 14:39:19 +02:00
Juergen Hoeller
67176e2b75
TransactionAspectSupport avoids hard references to transaction manager beans
...
Issue: SPR-14511
(cherry picked from commit 02374d7 )
2016-07-26 21:46:49 +02:00
Juergen Hoeller
9e2c34dfa6
Fixed ConcurrentMap declaration
...
(cherry picked from commit 23135b1 )
2016-07-26 00:28:40 +02:00
Juergen Hoeller
cc93c2a559
Polishing
2016-07-26 00:03:21 +02:00
Stephane Nicoll
037746da44
Polish
...
Closes gh-1097
2016-07-01 14:26:48 +02:00
Juergen Hoeller
66ec1c1618
Add missing package-info files for common packages
...
Issue: SPR-14420
2016-06-30 21:39:06 +02:00
nkjackzhang
9656015d26
Fix typo in javadoc
...
See gh-1080
2016-06-16 12:11:14 +02:00
Juergen Hoeller
a9fda3e7e2
Defensive catching of any Throwable subclasses instead of just Error
...
Issue: SPR-14329
2016-06-04 00:17:20 +02:00
Juergen Hoeller
1be544f8fa
JtaTransactionManager explicitly resets transaction timeout after completion
...
Issue: SPR-14239
2016-05-03 13:30:51 +02:00
Juergen Hoeller
f83cbff543
Consistent SmartLifecycle implementations
...
Issue: SPR-14233
2016-05-02 13:01:44 +02:00
Johnny Lim
44e652f99e
Remove duplicate words
...
Closes gh-1039
2016-04-19 08:24:21 +02:00
Juergen Hoeller
74608e6b49
Polishing
2016-04-12 16:03:57 +02:00
Juergen Hoeller
831f09cf48
SimpleTransactionScope properly suspends and resumes scoped objects
...
Issue: SPR-14148
2016-04-12 16:02:36 +02:00
Juergen Hoeller
537193a4e0
Consistent license header
2016-04-11 20:49:38 +02:00
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
2016-03-30 14:13:04 +02:00
Juergen Hoeller
b7819e6ec8
AnnotationTransactionAttributeSource applies class-level metadata to user-level methods only
...
Issue: SPR-14095
2016-03-30 10:21:22 +02:00
Juergen Hoeller
54aeb7a5d6
Cache key classes implement Comparable and consistently provide a toString representation
...
Issue: SPR-14017
2016-03-26 14:32:10 +01:00
Juergen Hoeller
9af12d290e
Polishing
2016-03-23 18:39:29 +01:00
Juergen Hoeller
5025c615b1
Consistent use of AnnotatedElementUtils.findMergedAnnotation/hasAnnotation
...
Issue: SPR-13440
2016-03-23 18:39:20 +01:00
Juergen Hoeller
25be5e060c
TaskDecorator callback supported by common TaskExecutor implementations
...
Issue: SPR-13930
2016-02-17 16:58:02 +01:00
Johnny Lim
2defb6555e
Fix broken Javadoc related to < and >
2015-11-12 11:22:08 +01:00
Juergen Hoeller
d5efe4f983
Detect event listener methods behind interface proxies as well
...
Issue: SPR-13650
2015-11-09 15:00:03 +01:00
Juergen Hoeller
e35855f9b5
Avoid expensive annotation retrieval algorithm if no annotations present in the first place
...
Issue: SPR-13621
2015-11-05 12:26:54 +01:00
Juergen Hoeller
ebe128e940
Polishing
2015-09-24 00:33:14 +02:00
Sam Brannen
164bed5c3f
Use implicit aliases in @TransactionalEventListener
2015-08-28 20:04:52 +02:00
Sam Brannen
725292081e
Introduce 'value' alias for 'attribute' in @AliasFor
...
SPR-11512 introduced support for annotation attribute aliases via
@AliasFor, requiring the explicit declaration of the 'attribute'
attribute. However, for aliases within an annotation, this explicit
declaration is unnecessary.
This commit improves the readability of alias pairs declared within an
annotation by introducing a 'value' attribute in @AliasFor that is an
alias for the existing 'attribute' attribute. This allows annotations
such as @ContextConfiguration from the spring-test module to declare
aliases as follows.
public @interface ContextConfiguration {
@AliasFor("locations")
String[] value() default {};
@AliasFor("value")
String[] locations() default {};
// ...
}
Issue: SPR-13289
2015-07-29 15:27:06 +02:00
Juergen Hoeller
14f27bda37
Prefer use of "Java EE" over "J2EE"
2015-07-27 15:32:56 +02:00
Juergen Hoeller
f06581f5b8
Polishing
2015-07-22 14:20:12 +02:00
Juergen Hoeller
edd6e76b9f
Polishing
2015-07-21 22:58:34 +02:00
Juergen Hoeller
a8fb551b1c
Allow for overriding of computeTransactionAttribute
...
Issue: SPR-13246
2015-07-17 15:24:24 +02:00
Sam Brannen
f300325b1b
Polishing
2015-07-08 15:08:29 +02:00
Stephane Nicoll
bf786c3176
Support for multiple events per method
...
In addition to specifying the event type to listen to via a method
parameter, any @EventListener annotated method can now alternatively
define the event type(s) to listen to via the "classes" attributes (that
is aliased to "value").
Something like
@EventListener({FooEvent.class, BarEvent.class})
public void handleFooBar() { .... }
Issue: SPR-13156
2015-07-08 14:51:07 +02:00
Juergen Hoeller
f1c7dc4f4b
Introduced SimpleTransactionScope (analogous to SimpleThreadScope)
...
Issue: SPR-13085
2015-06-18 00:29:46 +02:00
Juergen Hoeller
9f64230131
TransactionAttributeSourcePointcut pointcut skips target classes with TransactionalProxy marker (e.g. Spring Data proxies)
...
This 4.2 commit also makes TransactionProxyFactoryBean expose the TransactionalProxy marker and refines SpringProxy marker handling.
Issue: SPR-13109
2015-06-17 13:02:26 +02:00
Sam Brannen
32c17bf540
Revise method and parameter names in annotation support
...
In AnnotatedElementUtils, all methods pertaining to merging annotation
attributes have been renamed to "getMerged*()" and "findMerged*()"
accordingly. Existing methods such as getAnnotationAttributes(..) have
been deprecated in favor of the more descriptive "merged" variants.
This aligns the naming conventions in AnnotatedElementUtils with those
already present in AnnotationReadingVisitorUtils.
The use of "annotationType" as a variable name for the fully qualified
class name of an annotation type has been replaced with
"annotationName" in order to improve the readability and intent of the
code base.
In MetaAnnotationUtils.AnnotationDescriptor, getMergedAnnotation() has
been renamed to synthesizeAnnotation(), and the method is now
overridden in UntypedAnnotationDescriptor to always throw an
UnsupportedOperationException in order to avoid potential run-time
ClassCastExceptions.
Issue: SPR-11511
2015-06-14 00:34:40 +02:00
Sam Brannen
6b7c1d72e8
Introduce alias for 'value' attribute in @Transactional
...
Issue: SPR-11393
2015-06-12 22:35:20 +02:00
Sam Brannen
6fc388315e
Polish Javadoc for @Transactional
2015-06-12 21:59:44 +02:00
Sam Brannen
9afcd17c71
Introduce getAnnotationAttributes(..,Class) in AnnoElUtils
2015-05-29 21:36:00 +02:00