org.fcrepo.server.utilities
Class LogSetupContextListener

java.lang.Object
  extended by org.fcrepo.server.utilities.LogSetupContextListener
All Implemented Interfaces:
EventListener, javax.servlet.ServletContextListener

public class LogSetupContextListener
extends Object
implements javax.servlet.ServletContextListener

Context listener for logging initialization.

This ensures that logging is initialized before any filters or servlets are started.

Author:
Chris Wilper

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

Constructor Detail

LogSetupContextListener

public LogSetupContextListener()
Method Detail

contextInitialized

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

contextDestroyed

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


Copyright © 2011 DuraSpace. All Rights Reserved.