Package | Description |
---|---|
org.apache.log4j |
The main log4j package.
|
org.apache.log4j.or |
ObjectRenders are resposible for rendering messages depending on
their class type.
|
org.apache.log4j.or.jms |
This package contains the MessageRenderer which renders objects of
type
javax.jms.Message . |
org.apache.log4j.or.sax |
This package contains the AttributesRenderer which renders object of
class
org.xml.sax.Attributes . |
org.apache.log4j.spi |
Contains part of the System Programming Interface (SPI) needed to
extend log4j.
|
Modifier and Type | Method and Description |
---|---|
void |
Hierarchy.addRenderer(Class classToRender,
ObjectRenderer or) |
void |
Hierarchy.setRenderer(Class renderedClass,
ObjectRenderer renderer) |
Modifier and Type | Class and Description |
---|---|
class |
ThreadGroupRenderer
Render
ThreadGroup objects in a format similar to the
information output by the ThreadGroup.list() method. |
Modifier and Type | Method and Description |
---|---|
ObjectRenderer |
RendererMap.get(Class clazz)
Search the parents of
clazz for a renderer. |
ObjectRenderer |
RendererMap.get(Object o)
Syntactic sugar method that calls
RendererMap.get(Class) with the
class of the object parameter. |
ObjectRenderer |
RendererMap.getDefaultRenderer() |
Modifier and Type | Method and Description |
---|---|
void |
RendererMap.put(Class clazz,
ObjectRenderer or)
Register an
ObjectRenderer for clazz . |
Modifier and Type | Class and Description |
---|---|
class |
MessageRenderer
Render
javax.jms.Message objects. |
Modifier and Type | Class and Description |
---|---|
class |
AttributesRenderer
Render
org.xml.sax.Attributes objects. |
Modifier and Type | Method and Description |
---|---|
void |
RendererSupport.setRenderer(Class renderedClass,
ObjectRenderer renderer) |
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.