|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
TransactionHint.NOOP_TRANSACTION_HINT
Method, determine the appropriate
TransactionType to be used in implemented a
Prevayler for that method.
) except no Exception is thrown.
Method represented by this object.
Serializable representation of a
Method.MethodInfo from the specified
Method.
TransactionType.TRANSACTION unless the method name contains the word "[t|T]ransient", in which case it will be of type TransactionType.NOOP (see #3 for description)
Methods starting with (or matching) the prefixes "fetch", "find", "get", and "retrieve" will be of type TransactionType.QUERY
Methods that fall through check #2, and are all-lowercase, will be of type TransactionType.NOOP.
PrevaylerFactory<MyObjectToPersist> f = new PrevaylerFactory<MyObjectToPersist>();
TransactionType.TRANSACTION for void methods and
TransactionType.QUERY otherwise.
TransactionType for a given method.
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||