|
ColdSpring 2.0 - Narwhal | ||||
| FRAMES | |||||
WEB-INF.cftags.component
coldspring.transaction.interceptor.TransactionInterceptor
public class TransactionInterceptor
MethodInterceptor for declarative transaction management using <cftransaction>.
Also allows for nested AOP based transactions in CF8.
This advice has been ordered with the Highest precedence, so that it comes first, but it can be overwritten by constructor and property setters.
| Constructor Summary | |
|---|---|
init([numeric order])
Constructor |
|
| Method Summary | |
|---|---|
boolean |
getInTransaction()
returns if we are in a transaction |
string |
getIsolation()
set Isolation level of the transaction to be applied |
numeric |
getOrder()
Return the order value of this object, with a higher value meaning greater in terms of sorting |
private any |
getTransactionLocal()
|
boolean |
hasIsolation()
whether this object has a isolation value |
any |
invokeMethod(MethodInvocation methodInvocation)
Invoke the method, from within a transaction block, unless already in a transaction block |
void |
setIsolation(string isolation)
Set the isolation level of the current transaction being applied |
void |
setOrder(numeric order)
|
private void |
setTransactionLocal(any transactionLocal)
|
| Methods inherited from class WEB-INF.cftags.component |
|---|
|
| Constructor Detail |
|---|
public init([numeric order])
order - The order value for this interceptor| Method Detail |
|---|
public boolean getInTransaction()
public string getIsolation()
public numeric getOrder()
getOrder
in interface
Ordered
private any getTransactionLocal()
public boolean hasIsolation()
public any invokeMethod(MethodInvocation methodInvocation)
invokeMethod
in interface
MethodInterceptor
methodInvocation - the method invocation joinpointpublic void setIsolation(string isolation)
isolationpublic void setOrder(numeric order)
orderprivate void setTransactionLocal(any transactionLocal)
transactionLocal
|
ColdSpring 2.0 - Narwhal | ||||
| FRAMES | |||||