org.mortbay.log
Class Factory
public
class
Factory
extends LogFactory
Commons Logging Factory for org.mortbay.log
Returns a static default log, unless an alternate Log implementation has been set as
an attribute keyed by the classname or other name of the log. If the name of the attibute ends
with '.*' it is assumed to be a name prefix match.
Attributes with string values are treated as references to other attributes.
This class needs to be configured in the META-INF/services directory (see build.xml for example)
for automatic discovery. Or it can be configured with the system property:
-Dorg.apache.commons.logging.LogFactory=org.mortbay.log.Factory
public Factory()
public Object getAttribute(String n)
public String[] getAttributeNames()
public Log getInstance(Class c)
public Log getInstance(String name)
public void release()
public void removeAttribute(String n)
public void setAttribute(String n, Object v)
Copyright © 2004 Mortbay Consulting Pty. Ltd. All Rights Reserved.