|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.avalon.meta.info.Descriptor
org.apache.avalon.meta.info.CategoryDescriptor
A descriptor describing an Avalon Logger
child instances that the component will create using the
org.apache.avalon.framework.logger.Logger#getChildLogger
method. The name of each category is relative to the component. For
example, a component with an internal logging category named "data"
would aquire a logger for that category using the
m_logger.getChildLogger( "data" );
. The establishment
of logging channels and targets for the returned channel is container
concern facilities by type-level category declarations.
Also associated with each Logger is a set of arbitrary attributes that can be used to store extra information about Logger requirements.
Field Summary | |
static String |
SEPERATOR
|
Constructor Summary | |
CategoryDescriptor(String name,
Properties attributes)
Create a descriptor for logging category. |
Method Summary | |
boolean |
equals(Object other)
Test is the supplied object is equal to this object. |
String |
getName()
Return the name of logging category. |
int |
hashCode()
Return the hashcode for the object. |
Methods inherited from class org.apache.avalon.meta.info.Descriptor |
getAttribute, getAttribute, getAttributeNames, getProperties |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final String SEPERATOR
Constructor Detail |
public CategoryDescriptor(String name, Properties attributes) throws NullPointerException
name
- the logging category nameattributes
- a set of attributes associated with the declaration
NullPointerException
- if name argument is nullMethod Detail |
public String getName()
public boolean equals(Object other)
equals
in class Descriptor
other
- the object to compare this object with
public int hashCode()
hashCode
in class Descriptor
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |