org.riotfamily.common.log
Class ServletContextAppenderListener

java.lang.Object
  extended by 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]

Constructor Summary
ServletContextAppenderListener()
           
 
Method Summary
 void contextDestroyed(ServletContextEvent event)
           
 void contextInitialized(ServletContextEvent event)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServletContextAppenderListener

public ServletContextAppenderListener()
Method Detail

contextInitialized

public void contextInitialized(ServletContextEvent event)
Specified by:
contextInitialized in interface ServletContextListener

contextDestroyed

public void contextDestroyed(ServletContextEvent event)
Specified by:
contextDestroyed in interface ServletContextListener