TransactionAttributeSource.
The transaction attribute string must be parseable by the
TransactionAttributeEditor in this package.
Strings are in property syntax, with the form:
FQCN.methodName=<transaction attribute string>
For example:
com.mycompany.mycode.MyClass.myMethod=PROPAGATION_MANDATORY,ISOLATION_DEFAULT
Note
The specified class must be the one where the methods are defined; in case of implementing an interface, the interface class name.
Note
Will register all overloaded methods for a given name. Does not support explicit registration of certain overloaded methods. Supports "xxx*" mappings, e.g. "notify*" for "notify" and "notifyAll".
TransactionAttributeEditor
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | setAsText(String
The string to be parsed. text)Overrides java. Implements java. Sets the property value by parsing a given String. |
| TransactionAttributeSourceEditor | back to summary |
|---|---|
| public TransactionAttributeSourceEditor() | |
| setAsText | back to summary |
|---|---|
| public void setAsText(String text) throws IllegalArgumentException Overrides java. Implements java. Doc from java. Sets the property value by parsing a given String. May raise java.lang.IllegalArgumentException if either the String is badly formatted or if this kind of property can't be expressed as text. | |