org.nuiton.web.struts2.interceptor
Class TopiaTransactionInterceptor
java.lang.Object
com.opensymphony.xwork2.interceptor.AbstractInterceptor
org.nuiton.web.struts2.interceptor.OpenTopiaTransactionInterceptor
org.nuiton.web.struts2.interceptor.TopiaTransactionInterceptor
- All Implemented Interfaces:
- com.opensymphony.xwork2.interceptor.Interceptor, Serializable
Deprecated. since 1.5, will be removed soon
@Deprecated
public abstract class TopiaTransactionInterceptor
- extends OpenTopiaTransactionInterceptor
Same interceptor as OpenTopiaTransactionInterceptor but close
the transaction after action is called. The transaction will be commited
(unless asked otherwise) and closed.
- Since:
- 1.2
- Author:
- tchemit
- See Also:
- Serialized Form
|
Method Summary |
protected void |
closeTransaction(org.nuiton.topia.TopiaContext transaction,
Object action,
com.opensymphony.xwork2.ActionInvocation invocation)
Deprecated. |
String |
intercept(com.opensymphony.xwork2.ActionInvocation invocation)
Deprecated. |
protected boolean |
isCommitNeeded(Object action,
com.opensymphony.xwork2.ActionInvocation invocation)
Deprecated. |
| Methods inherited from class com.opensymphony.xwork2.interceptor.AbstractInterceptor |
destroy |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TopiaTransactionInterceptor
public TopiaTransactionInterceptor()
- Deprecated.
intercept
public String intercept(com.opensymphony.xwork2.ActionInvocation invocation)
throws Exception
- Deprecated.
- Specified by:
intercept in interface com.opensymphony.xwork2.interceptor.Interceptor- Overrides:
intercept in class OpenTopiaTransactionInterceptor
- Throws:
Exception
closeTransaction
protected void closeTransaction(org.nuiton.topia.TopiaContext transaction,
Object action,
com.opensymphony.xwork2.ActionInvocation invocation)
throws org.nuiton.topia.TopiaException
- Deprecated.
- Throws:
org.nuiton.topia.TopiaException
isCommitNeeded
protected boolean isCommitNeeded(Object action,
com.opensymphony.xwork2.ActionInvocation invocation)
- Deprecated.
Copyright © 2010-2011 CodeLutin. All Rights Reserved.