ecar.email
Class AtualizadorEmail

java.lang.Object
  extended by ecar.email.AtualizadorEmail
All Implemented Interfaces:
javax.servlet.Filter

public class AtualizadorEmail
extends java.lang.Object
implements javax.servlet.Filter

Filtro que fecha a sessao corrente do hibernate cada vez que o Web Container processa uma pagina. O filtro e configurado no web.xml.

Author:
steinmacher

Constructor Summary
AtualizadorEmail()
          Construtor.
 
Method Summary
 void destroy()
          Destrutor.
 void doFilter(javax.servlet.ServletRequest request, javax.servlet.ServletResponse response, javax.servlet.FilterChain chain)
          Esse filtro atualiza os mails dos Usuarios.
 void init(javax.servlet.FilterConfig arg0)
          Inicializador.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AtualizadorEmail

public AtualizadorEmail()
Construtor.

Since:
N/C
Method Detail

init

public void init(javax.servlet.FilterConfig arg0)
          throws javax.servlet.ServletException
Inicializador.

Specified by:
init in interface javax.servlet.Filter
Parameters:
FilterConfig - arg0
Throws:
javax.servlet.ServletException
Since:
N/C

doFilter

public void doFilter(javax.servlet.ServletRequest request,
                     javax.servlet.ServletResponse response,
                     javax.servlet.FilterChain chain)
              throws java.io.IOException,
                     javax.servlet.ServletException
Esse filtro atualiza os mails dos Usuarios.

Specified by:
doFilter in interface javax.servlet.Filter
Parameters:
ServletRequest - request
ServletResponse - response
FilterChain - chain
Throws:
java.io.IOException
javax.servlet.ServletException
Since:
N/C

destroy

public void destroy()
Destrutor.

Specified by:
destroy in interface javax.servlet.Filter
Since:
N/C


Copyright © 2007, PRODEPA - Processamento de Dados do Pará