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

ExceptionFilter (JBoss Seam API Documentation) - JBoss Seam 1.2.0 patch1 API 英文版文档


org.jboss.seam.web
Class ExceptionFilter

java.lang.Object
  extended by org.jboss.seam.web.AbstractFilter
      extended by org.jboss.seam.web.ExceptionFilter
All Implemented Interfaces:
javax.servlet.Filter
Direct Known Subclasses:
SeamExceptionFilter, SeamExceptionFilter

@Startup
@Scope(value=APPLICATION)
@Name(value="org.jboss.seam.servlet.exceptionFilter")
@Install(precedence=0)
@Intercept(value=NEVER)
public class ExceptionFilter
extends AbstractFilter

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

Author:
Gavin King

Constructor Summary
ExceptionFilter()
           
 
Method Summary
 void doFilter(javax.servlet.ServletRequest request, javax.servlet.ServletResponse response, javax.servlet.FilterChain chain)
           
 
Methods inherited from class org.jboss.seam.web.AbstractFilter
destroy, getServletContext, getUrlPattern, init, setUrlPattern
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExceptionFilter

public ExceptionFilter()
Method Detail

doFilter

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