类 TxNamespaceHandler
- java.lang.Object
- org.springframework.beans.factory.xml.NamespaceHandlerSupport
- org.springframework.transaction.config.TxNamespaceHandler
- 所有已实现的接口:
NamespaceHandler
public class TxNamespaceHandler extends 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.- 从以下版本开始:
- 2.0
- 作者:
- Rob Harrop, Juergen Hoeller
构造器概要
构造器 构造器 说明 TxNamespaceHandler()
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 void
init()
Invoked by theDefaultBeanDefinitionDocumentReader
after construction but before any custom elements are parsed.从类继承的方法 org.springframework.beans.factory.xml.NamespaceHandlerSupport
decorate, parse, registerBeanDefinitionDecorator, registerBeanDefinitionDecoratorForAttribute, registerBeanDefinitionParser
构造器详细资料
TxNamespaceHandler
public TxNamespaceHandler()
方法详细资料
init
public void init()
从接口复制的说明:NamespaceHandler
Invoked by theDefaultBeanDefinitionDocumentReader
after construction but before any custom elements are parsed.