org.mule.module.logging
Class MuleLoggerFactory

java.lang.Object
  extended by org.mule.module.logging.MuleLoggerFactory
All Implemented Interfaces:
ILoggerFactory

public class MuleLoggerFactory
extends Object
implements ILoggerFactory


Field Summary
static String LOG_HANDLER_THREAD_NAME
           
protected static Integer NO_CCL_CLASSLOADER
           
protected  ReferenceQueue<ClassLoader> referenceQueue
           
protected  Map<PhantomReference<ClassLoader>,Integer> refs
           
protected  ConcurrentMap<Integer,ConcurrentMap<String,Logger>> repository
           
 
Constructor Summary
MuleLoggerFactory()
           
 
Method Summary
protected  void createLoggerReferenceHandler()
           
 Logger getLogger(String name)
           
 Logger getLogger(String name, ClassLoader classLoader)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOG_HANDLER_THREAD_NAME

public static final String LOG_HANDLER_THREAD_NAME
See Also:
Constant Field Values

NO_CCL_CLASSLOADER

protected static final Integer NO_CCL_CLASSLOADER

repository

protected ConcurrentMap<Integer,ConcurrentMap<String,Logger>> repository

referenceQueue

protected ReferenceQueue<ClassLoader> referenceQueue

refs

protected Map<PhantomReference<ClassLoader>,Integer> refs
Constructor Detail

MuleLoggerFactory

public MuleLoggerFactory()
Method Detail

createLoggerReferenceHandler

protected void createLoggerReferenceHandler()

getLogger

public Logger getLogger(String name)
Specified by:
getLogger in interface ILoggerFactory

getLogger

public Logger getLogger(String name,
                        ClassLoader classLoader)


Copyright © 2003-2014 MuleSoft, Inc.. All Rights Reserved.