|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.springframework.context.config.AbstractFeatureSpecification
org.springframework.transaction.config.TxAnnotationDriven
public final class TxAnnotationDriven
TODO SPR-7420: document
| Field Summary |
|---|
| Fields inherited from class org.springframework.context.config.AbstractFeatureSpecification |
|---|
executorType |
| Constructor Summary | |
|---|---|
TxAnnotationDriven()
Create a TxAnnotationDriven specification assumes the presence of a
PlatformTransactionManager bean named . |
|
TxAnnotationDriven(PlatformTransactionManager txManager)
Create a new TxAnnotationDriven specification that will use the specified transaction manager. |
|
TxAnnotationDriven(String txManagerBeanName)
Create a new TxAnnotationDriven specification that will use the specified
transaction manager bean name. |
|
| Method Summary | |
|---|---|
protected void |
doValidate(ProblemCollector problems)
|
TxAnnotationDriven |
mode(AdviceMode mode)
Indicate how transactional advice should be applied. |
TxAnnotationDriven |
order(int order)
Indicate the ordering of the execution of the transaction advisor when multiple advice executes at a specific joinpoint. |
TxAnnotationDriven |
order(String order)
Indicate the ordering of the execution of the transaction advisor when multiple advice executes at a specific joinpoint. |
TxAnnotationDriven |
proxyTargetClass(Boolean proxyTargetClass)
Indicate whether class-based (CGLIB) proxies are to be created as opposed to standard Java interface-based proxies. |
| Methods inherited from class org.springframework.context.config.AbstractFeatureSpecification |
|---|
execute, source, source, sourceName, sourceName, validate |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TxAnnotationDriven()
TxAnnotationDriven specification assumes the presence of a
PlatformTransactionManager bean named .
See the alternate constructors defined here if your transaction manager does not follow this default naming or you wish to refer to it by bean instance rather than by bean name.
TxAnnotationDriven(String),
TxAnnotationDriven(PlatformTransactionManager)public TxAnnotationDriven(String txManagerBeanName)
TxAnnotationDriven specification that will use the specified
transaction manager bean name.
txManagerBeanName - name of PlatformTransactionManager bean or a
${placeholder} or SpEL #{expression} resolving to bean name. If null,
falls back to default value of .public TxAnnotationDriven(PlatformTransactionManager txManager)
txManager - the PlatformTransactionManager bean to use. Must not be null.| Method Detail |
|---|
public TxAnnotationDriven mode(AdviceMode mode)
AdviceModepublic TxAnnotationDriven proxyTargetClass(Boolean proxyTargetClass)
Note: Class-based proxies require the @Transactional
annotation to be defined on the concrete class. Annotations in interfaces will
not work in that case (they will rather only work with interface-based proxies)!
public TxAnnotationDriven order(int order)
null, indicating that default ordering should be used.
public TxAnnotationDriven order(String order)
null, indicating that default ordering should be used.
protected void doValidate(ProblemCollector problems)
doValidate in class AbstractFeatureSpecification
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||