spring-framework / org.springframework.transaction.config / TxNamespaceHandler

TxNamespaceHandler

open class TxNamespaceHandler : NamespaceHandlerSupport

NamespaceHandler allowing for the configuration of declarative transaction management using either XML or using annotations.

This namespace handler is the central piece of functionality in the Spring transaction management facilities and offers two approaches to declaratively manage transactions.

One approach uses transaction semantics defined in XML using the <tx:advice> elements, the other uses annotations in combination with the <tx:annotation-driven> element. Both approached are detailed to great extent in the Spring reference manual.

Author
Rob Harrop

Author
Juergen Hoeller

Since
2.0

Constructors

<init>

TxNamespaceHandler()

NamespaceHandler allowing for the configuration of declarative transaction management using either XML or using annotations.

This namespace handler is the central piece of functionality in the Spring transaction management facilities and offers two approaches to declaratively manage transactions.

One approach uses transaction semantics defined in XML using the <tx:advice> elements, the other uses annotations in combination with the <tx:annotation-driven> element. Both approached are detailed to great extent in the Spring reference manual.

Functions

init

open fun init(): Unit