|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.xwork.interceptors.XWorkTransactionInterceptor
com.atlassian.confluence.setup.webwork.ConfluenceXWorkTransactionInterceptor
public class ConfluenceXWorkTransactionInterceptor
An interceptor that wraps the action execution in a single Hibernate transaction.
| Constructor Summary | |
|---|---|
ConfluenceXWorkTransactionInterceptor()
|
|
| Method Summary | |
|---|---|
org.springframework.transaction.PlatformTransactionManager |
getTransactionManager()
|
void |
setTransactionManager(org.springframework.transaction.PlatformTransactionManager transactionManager)
Set the transaction manager. |
protected boolean |
shouldIntercept(com.opensymphony.xwork.ActionInvocation invocation)
We do not want to wrap an invocation in a transaction until we have a database to commit to :) |
| Methods inherited from class com.atlassian.xwork.interceptors.XWorkTransactionInterceptor |
|---|
currentTransactionStatus, destroy, init, intercept |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ConfluenceXWorkTransactionInterceptor()
| Method Detail |
|---|
public org.springframework.transaction.PlatformTransactionManager getTransactionManager()
getTransactionManager in class XWorkTransactionInterceptorprotected boolean shouldIntercept(com.opensymphony.xwork.ActionInvocation invocation)
shouldIntercept in class XWorkTransactionInterceptorpublic void setTransactionManager(org.springframework.transaction.PlatformTransactionManager transactionManager)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||