1 17 package org.apache.avalon.excalibur.component.servlet; 18 19 import org.apache.avalon.excalibur.logger.LoggerManager; 20 import org.apache.avalon.framework.logger.Logger; 21 22 31 final class LoggerManagerReferenceProxy 32 extends AbstractReferenceProxy 33 implements LoggerManager 34 { 35 private LoggerManager m_loggerManager; 36 37 40 47 LoggerManagerReferenceProxy( LoggerManager loggerManager, 48 AbstractReferenceProxyLatch latch, 49 String name ) 50 { 51 super( latch, name ); 52 m_loggerManager = loggerManager; 53 } 54 55 58 61 public Logger getLoggerForCategory( String categoryName ) 62 { 63 return m_loggerManager.getLoggerForCategory( categoryName ); 64 } 65 66 70 public Logger getDefaultLogger() 71 { 72 return m_loggerManager.getDefaultLogger(); 73 } 74 } 75 | Popular Tags |