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 TypeMethodDescriptionvoidcontextDestroyed(javax.servlet.ServletContextEvent sce) Ao finalizar a aplicação, restaura as saídas padrão.voidcontextInitialized(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:
contextInitializedin 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:
contextDestroyedin interfacejavax.servlet.ServletContextListener- Parameters:
sce- o contexto
-