Top Description Fields Constructors Methods
org.springframework.transaction.config

public Class TxNamespaceHandler

extends NamespaceHandlerSupport
Class Inheritance
Imports
org.w3c.dom.Element, org.springframework.beans.factory.xml.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.

Authors
Rob Harrop, Juergen Hoeller
Since
2.0

Field Summary

Modifier and TypeField and Description
pack-priv static final String
pack-priv static final String

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
pack-priv static String
public void
init()

Implements org.springframework.beans.factory.xml.NamespaceHandler.init.

Invoked by the DefaultBeanDefinitionDocumentReader after construction but before any custom elements are parsed.
Inherited from org.springframework.beans.factory.xml.NamespaceHandlerSupport:
decorateparseregisterBeanDefinitionDecoratorregisterBeanDefinitionDecoratorForAttributeregisterBeanDefinitionParser

Field Detail

DEFAULT_TRANSACTION_MANAGER_BEAN_NAMEback to summary
pack-priv static final String DEFAULT_TRANSACTION_MANAGER_BEAN_NAME
TRANSACTION_MANAGER_ATTRIBUTEback to summary
pack-priv static final String TRANSACTION_MANAGER_ATTRIBUTE

Constructor Detail

TxNamespaceHandlerback to summary
public TxNamespaceHandler()

Method Detail

getTransactionManagerNameback to summary
pack-priv static String getTransactionManagerName(Element element)
initback to summary
public void init()

Implements org.springframework.beans.factory.xml.NamespaceHandler.init.

Doc from org.springframework.beans.factory.xml.NamespaceHandler.init.

Invoked by the DefaultBeanDefinitionDocumentReader after construction but before any custom elements are parsed.

Annotations
@Override