java.lang.Object | ||
↳ | org.springframework.context.config.AbstractFeatureSpecification | |
↳ | org.springframework.transaction.config.TxAnnotationDriven |
TODO SPR-7420: document
[Expand]
Inherited Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.springframework.context.config.AbstractFeatureSpecification
|
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Create a
TxAnnotationDriven specification assumes the presence of a
PlatformTransactionManager bean named {@value #DEFAULT_TRANSACTION_MANAGER_BEAN_NAME}. | |||||||||||
Create a new
TxAnnotationDriven specification that will use the specified
transaction manager bean name. | |||||||||||
Create a new TxAnnotationDriven specification that will use the specified transaction
manager.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Indicate how transactional advice should be applied.
| |||||||||||
Indicate the ordering of the execution of the transaction advisor
when multiple advice executes at a specific joinpoint.
| |||||||||||
Indicate the ordering of the execution of the transaction advisor
when multiple advice executes at a specific joinpoint.
| |||||||||||
Indicate whether class-based (CGLIB) proxies are to be created as opposed
to standard Java interface-based proxies.
|
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.springframework.context.config.AbstractFeatureSpecification
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
org.springframework.context.config.FeatureSpecification
| |||||||||||
From interface
org.springframework.context.config.SourceAwareSpecification
|
Create a TxAnnotationDriven
specification assumes the presence of a
PlatformTransactionManager
bean named {@value #DEFAULT_TRANSACTION_MANAGER_BEAN_NAME}.
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.
Create a new 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 {@value #DEFAULT_TRANSACTION_MANAGER_BEAN_NAME}.
|
---|
Create a new TxAnnotationDriven specification that will use the specified transaction manager.
txManager | the PlatformTransactionManager bean to use. Must not be null .
|
---|
Indicate how transactional advice should be applied.
Indicate the ordering of the execution of the transaction advisor
when multiple advice executes at a specific joinpoint. The default is
null
, indicating that default ordering should be used.
Indicate the ordering of the execution of the transaction advisor
when multiple advice executes at a specific joinpoint. The default is
null
, indicating that default ordering should be used.
Indicate whether class-based (CGLIB) proxies are to be created as opposed to standard Java interface-based proxies.
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)!