org.apache.commons.logging.tccl.custom
Class MyLogFactoryImpl

java.lang.Object
  extended by org.apache.commons.logging.LogFactory
      extended by org.apache.commons.logging.tccl.custom.MyLogFactoryImpl

public class MyLogFactoryImpl
extends LogFactory


Field Summary
 
Fields inherited from class org.apache.commons.logging.LogFactory
DIAGNOSTICS_DEST_PROPERTY, factories, FACTORY_DEFAULT, FACTORY_PROPERTIES, FACTORY_PROPERTY, HASHTABLE_IMPLEMENTATION_PROPERTY, nullClassLoaderFactory, PRIORITY_KEY, SERVICE_ID, TCCL_KEY
 
Constructor Summary
MyLogFactoryImpl()
           
 
Method Summary
 Object getAttribute(String name)
           
 String[] getAttributeNames()
           
 Log getInstance(Class clazz)
           
 Log getInstance(String name)
           
 void release()
           
 void removeAttribute(String name)
           
 void setAttribute(String name, Object value)
           
 
Methods inherited from class org.apache.commons.logging.LogFactory
createFactory, directGetContextClassLoader, getClassLoader, getContextClassLoader, getFactory, getLog, getLog, isDiagnosticsEnabled, logRawDiagnostic, newFactory, newFactory, objectId, release, releaseAll
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MyLogFactoryImpl

public MyLogFactoryImpl()
Method Detail

getAttribute

public Object getAttribute(String name)
Specified by:
getAttribute in class LogFactory

getAttributeNames

public String[] getAttributeNames()
Specified by:
getAttributeNames in class LogFactory

getInstance

public Log getInstance(Class clazz)
Specified by:
getInstance in class LogFactory

getInstance

public Log getInstance(String name)
Specified by:
getInstance in class LogFactory

release

public void release()
Specified by:
release in class LogFactory

removeAttribute

public void removeAttribute(String name)
Specified by:
removeAttribute in class LogFactory

setAttribute

public void setAttribute(String name,
                         Object value)
Specified by:
setAttribute in class LogFactory


Copyright © 2001-2011 Apache Software Foundation. All Rights Reserved.