com.atlassian.confluence.setup.webwork
Class ConfluenceXWorkTransactionInterceptor
java.lang.Object
com.atlassian.xwork.interceptors.XWorkTransactionInterceptor
com.atlassian.confluence.setup.webwork.ConfluenceXWorkTransactionInterceptor
- All Implemented Interfaces:
- com.opensymphony.xwork.interceptor.Interceptor
public class ConfluenceXWorkTransactionInterceptor
- extends XWorkTransactionInterceptor
An interceptor that wraps the action execution in a single Hibernate transaction.
Method Summary |
org.springframework.transaction.PlatformTransactionManager |
getTransactionManager()
|
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConfluenceXWorkTransactionInterceptor
public ConfluenceXWorkTransactionInterceptor()
getTransactionManager
public org.springframework.transaction.PlatformTransactionManager getTransactionManager()
- Specified by:
getTransactionManager
in class XWorkTransactionInterceptor
shouldIntercept
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 :)
- Specified by:
shouldIntercept
in class XWorkTransactionInterceptor