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 org.apache.commons.logging.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()
           
 org.apache.commons.logging.Log getInstance(Class clazz)
           
 org.apache.commons.logging.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 org.apache.commons.logging.LogFactory

getAttributeNames

public String[] getAttributeNames()
Specified by:
getAttributeNames in class org.apache.commons.logging.LogFactory

getInstance

public org.apache.commons.logging.Log getInstance(Class clazz)
Specified by:
getInstance in class org.apache.commons.logging.LogFactory

getInstance

public org.apache.commons.logging.Log getInstance(String name)
Specified by:
getInstance in class org.apache.commons.logging.LogFactory

release

public void release()
Specified by:
release in class org.apache.commons.logging.LogFactory

removeAttribute

public void removeAttribute(String name)
Specified by:
removeAttribute in class org.apache.commons.logging.LogFactory

setAttribute

public void setAttribute(String name,
                         Object value)
Specified by:
setAttribute in class org.apache.commons.logging.LogFactory


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