当前页面:
在线文档首页 >
JBoss Seam 1.1.0 API 英文版文档
RollbackInterceptor (JBoss Seam API Documentation) - JBoss Seam 1.1.0 API 英文版文档
org.jboss.seam.interceptors
Class RollbackInterceptor
java.lang.Object
org.jboss.seam.interceptors.AbstractInterceptor
org.jboss.seam.interceptors.RollbackInterceptor
- All Implemented Interfaces:
- Serializable
@Interceptor(stateless=true,
around=OutcomeInterceptor.class)
public class RollbackInterceptor
- extends AbstractInterceptor
Automatically sets transactions to rollback only.
- Author:
- Gavin King
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RollbackInterceptor
public RollbackInterceptor()
rollbackIfNecessary
@AroundInvoke
public Object rollbackIfNecessary(InvocationContext invocation)
throws Exception
- Throws:
Exception