| |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object LogFactory com.ibm.portal.struts.logging.StrutsLogFactory
public class StrutsLogFactory
Struts Logging Factory
Constructor Summary | |
---|---|
StrutsLogFactory()
StrutsLoggingFactory ctr. |
Method Summary | |
---|---|
java.lang.Object | getAttribute(java.lang.String name)
Return the configuration attribute with the specified name (if any), or null if there is no such attribute.
|
java.lang.String[] | getAttributeNames()
Return an array containing the names of all currently defined configuration attributes. |
Log | getInstance(java.lang.Class clazz)
Convenience method to derive a name from the specified class and call getInstance(String) with it.
|
Log | getInstance(java.lang.String name)
Construct (if necessary) and return a Log instance,
using the factory's current set of configuration attributes.
|
void | release()
Release any internal references to previously created Log instances returned by this factory. |
void | removeAttribute(java.lang.String name)
Remove any configuration attribute associated with the specified name. |
void | setAttribute(java.lang.String name,
java.lang.Object value)
Set the configuration attribute with the specified name. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StrutsLogFactory()
Method Detail |
---|
public java.lang.Object getAttribute(java.lang.String name)
null
if there is no such attribute.
public java.lang.String[] getAttributeNames()
public Log getInstance(java.lang.Class clazz) throws LogConfigurationException
getInstance(String)
with it.
Log
instance cannot be returnedpublic Log getInstance(java.lang.String name) throws LogConfigurationException
Construct (if necessary) and return a Log
instance,
using the factory's current set of configuration attributes.
Log
instance to be
returned
Log
instance cannot be returnedpublic void release()
public void removeAttribute(java.lang.String name)
public void setAttribute(java.lang.String name, java.lang.Object value)
null
value is equivalent to calling
removeAttribute(name)
.
null
to remove any setting for this attribute
| |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |