Package systextil.log4j
Class AppListener
java.lang.Object
systextil.log4j.AppListener
- All Implemented Interfaces:
EventListener
,javax.servlet.ServletContextListener
Restaura as saídas padrão quando a aplicação está sendo removida.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
contextDestroyed
(javax.servlet.ServletContextEvent sce) Ao finalizar a aplicação, restaura as saídas padrão.void
contextInitialized
(javax.servlet.ServletContextEvent sce) Ao inicializar a aplicação, não faz nada.
-
Constructor Details
-
AppListener
public AppListener()Constrói este listener junto com a aplicação.
-
-
Method Details
-
contextInitialized
public void contextInitialized(javax.servlet.ServletContextEvent sce) Ao inicializar a aplicação, não faz nada.- Specified by:
contextInitialized
in interfacejavax.servlet.ServletContextListener
- Parameters:
sce
- o contexto
-
contextDestroyed
public void contextDestroyed(javax.servlet.ServletContextEvent sce) Ao finalizar a aplicação, restaura as saídas padrão.- Specified by:
contextDestroyed
in interfacejavax.servlet.ServletContextListener
- Parameters:
sce
- o contexto
-