|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use TransactionType.Determiner | |
---|---|
org.prevayler.contrib.facade |
Uses of TransactionType.Determiner in org.prevayler.contrib.facade |
---|
Classes in org.prevayler.contrib.facade that implement TransactionType.Determiner | |
---|---|
class |
MethodNameTransactionTypeDeterminer
This transaction type determiner uses a combination of heuristics to determine the proper transaction type (in the exact order given below): Methods returning void will be of type 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 . |
Fields in org.prevayler.contrib.facade declared as TransactionType.Determiner | |
---|---|
static TransactionType.Determiner |
TransactionType.RETURN_TYPE_DETERMINER
A basic transaction type determiner which bases the transaction type on the return type of methods: TransactionType.TRANSACTION for void methods and
TransactionType.QUERY otherwise. |
static TransactionType.Determiner |
TransactionType.SIMPLE_DETERMINER
A minimal transaction type determiner which uses no heuristics. |
Methods in org.prevayler.contrib.facade with parameters of type TransactionType.Determiner | |
---|---|
static Object |
PrevaylerTransactionsFacade.create(Class p_intf,
Prevayler p_prevayler,
TransactionType.Determiner p_determiner,
TransactionHint p_hint)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |