|Modifier and Type||Optional Element and Description|
Indicate how transactional advice should be applied.
Indicate the ordering of the execution of the transaction advisor when multiple advices are applied at a specific joinpoint.
Indicate whether subclass-based (CGLIB) proxies are to be created (
public abstract boolean proxyTargetClass
true) as opposed to standard Java interface-based proxies (
false). The default is
false. Applicable only if
mode()is set to
Note that setting this attribute to
true will affect all
Spring-managed beans requiring proxying, not just those marked with
@Transactional. For example, other beans marked with Spring's
@Async annotation will be upgraded to subclass proxying at the same
time. This approach has no negative impact in practice unless one is explicitly
expecting one type of proxy vs another, e.g. in tests.
public abstract org.springframework.context.annotation.AdviceMode mode
public abstract int order
Copyright © 2014 Pivotal Software, Inc.. All rights reserved.