站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > 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
  extended by org.jboss.seam.interceptors.RollbackInterceptor

@Around(value=OutcomeInterceptor.class)
public class RollbackInterceptor
extends Object

Automatically sets transactions to rollback only.

Author:
Gavin King

Field Summary
protected  Component component
           
 
Constructor Summary
RollbackInterceptor()
           
 
Method Summary
 Object rollbackIfNecessary(javax.interceptor.InvocationContext invocation)
           
 void setComponent(Component component)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

component

protected Component component
Constructor Detail

RollbackInterceptor

public RollbackInterceptor()
Method Detail

rollbackIfNecessary

public Object rollbackIfNecessary(javax.interceptor.InvocationContext invocation)
                           throws Exception
Throws:
Exception

setComponent

public void setComponent(Component component)