forked from Coded/SIPRP
git-svn-id: https://svn.coded.pt/svn/SIPRP@1540 bb69d46d-e84e-40c8-a05a-06db0d633741
parent
835704810c
commit
d4c7594a3c
@ -0,0 +1,33 @@
|
||||
/*
|
||||
* To change this template, choose Tools | Templates
|
||||
* and open the template in the editor.
|
||||
*/
|
||||
|
||||
package phaselistener;
|
||||
|
||||
import javax.servlet.http.HttpSession;
|
||||
import javax.servlet.http.HttpSessionEvent;
|
||||
import javax.servlet.http.HttpSessionListener;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author dneves
|
||||
*/
|
||||
public class SessionListener implements HttpSessionListener
|
||||
{
|
||||
|
||||
@Override
|
||||
public void sessionCreated( HttpSessionEvent se )
|
||||
{
|
||||
HttpSession session = se.getSession();
|
||||
System.out.println( "AnaliseAcidentesTrabalho : new Session Created : " + session.getId() );
|
||||
}
|
||||
|
||||
@Override
|
||||
public void sessionDestroyed( HttpSessionEvent se )
|
||||
{
|
||||
HttpSession session = se.getSession();
|
||||
System.out.println( "AnaliseAcidentesTrabalho : session destroyed : " + session.getId() );
|
||||
}
|
||||
|
||||
}
|
||||
Loading…
Reference in new issue