当前页面:
在线文档首页 >
JBoss Seam 1.0.0 API 英文版文档
RollbackInterceptor (JBoss Seam API Documentation) - JBoss Seam 1.0.0 API 英文版文档
org.jboss.seam.interceptors
Class RollbackInterceptor
java.lang.Object
org.jboss.seam.interceptors.RollbackInterceptor
@Around(value=OutcomeInterceptor.class)
public class RollbackInterceptor
- extends Object
Automatically sets transactions to rollback only.
- Author:
- Gavin King
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
component
protected Component component
RollbackInterceptor
public RollbackInterceptor()
rollbackIfNecessary
public Object rollbackIfNecessary(javax.interceptor.InvocationContext invocation)
throws Exception
- Throws:
Exception
setComponent
public void setComponent(Component component)