public class TransactionAttributeSourceEditor extends PropertyEditorSupportSE
TransactionAttributeSource
に変換するプロパティエディター。トランザクション属性文字列は、このパッケージの TransactionAttributeEditor
によって解析可能である必要があります。 文字列は、次の形式でプロパティ構文にあります。
FQCN.methodName=<transaction attribute string>
例:
com.mycompany.mycode.MyClass.myMethod=PROPAGATION_MANDATORY,ISOLATION_DEFAULT
注意 : 指定するクラスは、メソッドが定義されているクラスでなければなりません。インターフェースを実装する場合は、インターフェースのクラス名。
メモ: 指定された名前のすべてのオーバーロードメソッドを登録します。特定のオーバーロードメソッドの明示的な登録はサポートされていません。"xxx*" マッピングをサポートします (例: "notify" および "notifyAll" の場合は "notify*" )。
TransactionAttributeEditor
コンストラクターと説明 |
---|
TransactionAttributeSourceEditor() |
修飾子と型 | メソッドと説明 |
---|---|
void | setAsText(StringSE text) |
addPropertyChangeListenerSE, firePropertyChangeSE, getAsTextSE, getCustomEditorSE, getJavaInitializationStringSE, getSourceSE, getTagsSE, getValueSE, isPaintableSE, paintValueSE, removePropertyChangeListenerSE, setSourceSE, setValueSE, supportsCustomEditorSE
cloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, toStringSE, waitSE, waitSE, waitSE
public void setAsText(StringSE text) throws IllegalArgumentExceptionSE
PropertyEditorSE
の setAsTextSE
PropertyEditorSupportSE
の setAsTextSE
IllegalArgumentExceptionSE