org.riotfamily.common.log
Class ServletContextAppenderListener
java.lang.Object
org.riotfamily.common.log.ServletContextAppenderListener
- All Implemented Interfaces:
- EventListener, ServletContextListener
public class ServletContextAppenderListener
- extends Object
- implements ServletContextListener
ServletContextListener that initializes the ServletContextAppender by
setting a reference to the ServletContext as soon as the context is
initialized.
- Author:
- Felix Gnass [fgnass at neteye dot de]
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ServletContextAppenderListener
public ServletContextAppenderListener()
contextInitialized
public void contextInitialized(ServletContextEvent event)
- Specified by:
contextInitialized
in interface ServletContextListener
contextDestroyed
public void contextDestroyed(ServletContextEvent event)
- Specified by:
contextDestroyed
in interface ServletContextListener