C# Класс Spring.Transaction.Interceptor.TransactionAttributeSourceEditor

Editor that can convert System.String values into Spring.Transaction.Interceptor.ITransactionAttributeSource instances.
The transaction attribute string must be parseable by the Spring.Transaction.Interceptor.TransactionAttributeEditor in this package.

Strings must be specified in the following syntax:
FQCN.methodName=<transaction attribute string> (sans <>).

ExampleNamespace.ExampleClass.MyMethod=PROPAGATION_MANDATORY,ISOLATION_DEFAULT The specified class must be the one where the methods are defined; in the case of implementing an interface, the interface class name must be specified.

This will register all overloaded methods for a given name. Does not support explicit registration of certain overloaded methods. Supports wildcard style mappings (in the form "xxx*"), e.g. "Notify*" for "Notify" and "NotifyAll".

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
SetAsText ( string attributeSource ) : void

Parses the input properties System.String into a valid Spring.Transaction.Interceptor.ITransactionAttributeSource instance

TransactionAttributeSourceEditor ( ) : System.Collections

Creates a new instance of the Spring.Transaction.Interceptor.TransactionAttributeSourceEditor.PropertiesEditor class.

Описание методов

SetAsText() публичный Метод

Parses the input properties System.String into a valid Spring.Transaction.Interceptor.ITransactionAttributeSource instance
public SetAsText ( string attributeSource ) : void
attributeSource string The properties string to be parsed.
Результат void

TransactionAttributeSourceEditor() публичный Метод

Creates a new instance of the Spring.Transaction.Interceptor.TransactionAttributeSourceEditor.PropertiesEditor class.
public TransactionAttributeSourceEditor ( ) : System.Collections
Результат System.Collections