C# Class 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".

Show file Open project: spring-projects/spring-net Class Usage Examples

Public Methods

Method Description
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.

Method Details

SetAsText() public method

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.
return void

TransactionAttributeSourceEditor() public method

Creates a new instance of the Spring.Transaction.Interceptor.TransactionAttributeSourceEditor.PropertiesEditor class.
public TransactionAttributeSourceEditor ( ) : System.Collections
return System.Collections