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

파일 보기 프로젝트 열기: spring-projects/spring-net 1 사용 예제들

공개 메소드들

메소드 설명
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