1 23 24 29 30 package com.sun.enterprise.management.support; 31 32 33 import java.util.logging.Logger ; 34 35 import com.sun.appserv.management.base.AMXLoggerBase; 36 import com.sun.appserv.management.base.LoggerSupport; 37 38 41 public class AMXMBeanRootLogger extends AMXLoggerBase 42 { 43 private static Logger INSTANCE = null; 44 45 private 46 AMXMBeanRootLogger() 47 { 48 super( LoggerSupport.AMX_MBEAN_ROOT_LOGGER, null ); 49 } 50 51 public static synchronized Logger 52 getInstance() 53 { 54 if ( INSTANCE == null ) 55 { 56 INSTANCE = Logger.getLogger( LoggerSupport.AMX_MBEAN_ROOT_LOGGER ); 57 } 58 59 return( INSTANCE ); 60 } 61 } 62 | Popular Tags |