Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.log4j.or
Class ThreadGroupRenderer

    java.lang.Object
      org.apache.log4j.or.ThreadGroupRenderer

All Implemented Interfaces:
  ObjectRenderer

    public class ThreadGroupRenderer

extends java.lang.Object
implements ObjectRenderer

Render `ThreadGroup` objects in a format similar to the information output by the `ThreadGroup.list()` method.

Since:
  1.0
Author:
  Ceki Gülcü

Constructor Summary
`ThreadGroupRenderer()`

Method Summary
`java.lang.String` | `doRender(java.lang.Object o)` Render a `ThreadGroup` object similar to the way that the `ThreadGroup.list()` method output information.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### ThreadGroupRenderer

    public ThreadGroupRenderer()

Method Detail

### doRender

    public java.lang.String doRender(java.lang.Object o)

  Render a `ThreadGroup` object similar to the way that the `ThreadGroup.list()` method output information.

  The output of a simple program consisting of one `main` thread is:

           java.lang.ThreadGroup[name=main, maxpri=10]
               Thread=[main,5,false]

  The boolean value in thread information is the value returned by `Thread.isDaemon()`.

  Specified by:
    `doRender` in interface `ObjectRenderer`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 1999-2007 Apache Software Foundation. All Rights Reserved.