1 16 17 package org.apache.catalina.storeconfig; 18 19 import org.apache.catalina.LifecycleEvent; 20 import org.apache.catalina.LifecycleListener; 21 import org.apache.commons.logging.Log; 22 import org.apache.commons.logging.LogFactory; 23 24 28 public class InfoLifecycleListener implements LifecycleListener { 29 30 private static Log log = LogFactory.getLog(InfoLifecycleListener.class); 31 32 35 private static final String info = "org.apache.catalina.listener.InfoLifecycleListener/1.0"; 36 37 42 public void lifecycleEvent(LifecycleEvent arg0) { 43 if (log.isInfoEnabled()) 44 log.info(arg0.getSource().toString() + ": " + arg0.getType()); 45 } 46 47 } | Popular Tags |