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".

Afficher le fichier Open project: spring-projects/spring-net Class Usage Examples

Méthodes publiques

Méthode 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 méthode

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.
Résultat void

TransactionAttributeSourceEditor() public méthode

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