|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.plugins.rest.common.transaction.TransactionInterceptor
public class TransactionInterceptor
Wraps the resource method call in a transaction via SAL's TransactionTemplate.
| Constructor Summary | |
|---|---|
TransactionInterceptor(com.atlassian.sal.api.transaction.TransactionTemplate transactionTemplate)
|
|
| Method Summary | |
|---|---|
void |
intercept(MethodInvocation invocation)
Intercepts the method invocation |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TransactionInterceptor(com.atlassian.sal.api.transaction.TransactionTemplate transactionTemplate)
| Method Detail |
|---|
public void intercept(MethodInvocation invocation)
throws java.lang.IllegalAccessException,
java.lang.reflect.InvocationTargetException
ResourceInterceptor
intercept in interface ResourceInterceptorinvocation - Context information about the invocation
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||