org.apache.beehive.netui.util.logging
Class StrutsLogFactory

Object
  extended by LogFactory
      extended by StrutsLogFactory

public class StrutsLogFactory
extends LogFactory


Field Summary
protected  Hashtable attributes
           
protected  Hashtable instances
           
 
Fields inherited from class LogFactory
factories, FACTORY_DEFAULT, FACTORY_PROPERTIES, FACTORY_PROPERTY, SERVICE_ID
 
Constructor Summary
StrutsLogFactory()
           
 
Method Summary
 Object getAttribute(String name)
           
 String[] getAttributeNames()
           
 Log getInstance(Class clazz)
           
 Log getInstance(String name)
           
protected  Log newInstance(String name)
           
 void release()
           
 void removeAttribute(String name)
           
 void setAttribute(String name, Object value)
           
 
Methods inherited from class LogFactory
getContextClassLoader, getFactory, getLog, getLog, newFactory, release, releaseAll
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

attributes

protected Hashtable attributes

instances

protected Hashtable instances
Constructor Detail

StrutsLogFactory

public StrutsLogFactory()
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)
                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

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

newInstance

protected Log newInstance(String name)
                   throws LogConfigurationException
Throws:
LogConfigurationException