org.apache.geronimo.kernel.log
Class GeronimoLogFactory

java.lang.Object
  extended by org.apache.commons.logging.LogFactory
      extended by org.apache.geronimo.kernel.log.GeronimoLogFactory

public class GeronimoLogFactory
extends LogFactory


Field Summary
 
Fields inherited from class org.apache.commons.logging.LogFactory
factories, FACTORY_DEFAULT, FACTORY_PROPERTIES, FACTORY_PROPERTY, SERVICE_ID
 
Constructor Summary
GeronimoLogFactory()
           
 
Method Summary
 Object getAttribute(String name)
           
 String[] getAttributeNames()
           
 Log getInstance(Class clazz)
           
 Log getInstance(String name)
           
 Set getInstances()
           
 LogFactory getLogFactory()
           
 void release()
           
 void removeAttribute(String name)
           
 void setAttribute(String name, Object value)
           
 void setLogFactory(LogFactory logFactory)
           
 
Methods inherited from class org.apache.commons.logging.LogFactory
getContextClassLoader, getFactory, getLog, getLog, newFactory, release, releaseAll
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GeronimoLogFactory

public GeronimoLogFactory()
Method Detail

getLogFactory

public LogFactory getLogFactory()

setLogFactory

public void setLogFactory(LogFactory logFactory)

getInstances

public Set getInstances()

getInstance

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

getInstance

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

release

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

getAttribute

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

getAttributeNames

public String[] getAttributeNames()
Specified by:
getAttributeNames 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 © 2006 Apache Software Foundation. All Rights Reserved.