站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss Seam 1.1.1 API 英文版文档

SeamExceptionFilter (JBoss Seam API Documentation) - JBoss Seam 1.1.1 API 英文版文档


org.jboss.seam.servlet
Class SeamExceptionFilter

java.lang.Object
  extended by org.jboss.seam.servlet.SeamExceptionFilter
All Implemented Interfaces:
javax.servlet.Filter

public class SeamExceptionFilter
extends Object
implements javax.servlet.Filter

As a last line of defence, rollback uncommitted transactions at the very end of the request.

Author:
Gavin King

Constructor Summary
SeamExceptionFilter()
           
 
Method Summary
 void destroy()
           
 void doFilter(javax.servlet.ServletRequest request, javax.servlet.ServletResponse response, javax.servlet.FilterChain chain)
           
 void init(javax.servlet.FilterConfig cfg)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SeamExceptionFilter

public SeamExceptionFilter()
Method Detail

init

public void init(javax.servlet.FilterConfig cfg)
          throws javax.servlet.ServletException
Specified by:
init in interface javax.servlet.Filter
Throws:
javax.servlet.ServletException

doFilter

public void doFilter(javax.servlet.ServletRequest request,
                     javax.servlet.ServletResponse response,
                     javax.servlet.FilterChain chain)
              throws IOException,
                     javax.servlet.ServletException
Specified by:
doFilter in interface javax.servlet.Filter
Throws:
IOException
javax.servlet.ServletException

destroy

public void destroy()
Specified by:
destroy in interface javax.servlet.Filter