org.jboss.varia.threaddump
Class ThreadDumpBean

java.lang.Object
  extended by org.jboss.varia.threaddump.ThreadDumpBean
All Implemented Interfaces:
Serializable

public class ThreadDumpBean
extends Object
implements Serializable

Threaddump code adapted from: http://www.javaspecialists.eu/archive/Issue132.html

See Also:
Serialized Form

Constructor Summary
ThreadDumpBean()
           
 
Method Summary
 Map<Thread,StackTraceElement[]> getStackTraces()
           
 Collection<Thread> getThreads()
           
static void main(String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ThreadDumpBean

public ThreadDumpBean()
Method Detail

main

public static final void main(String[] args)

getThreads

public Collection<Thread> getThreads()

getStackTraces

public Map<Thread,StackTraceElement[]> getStackTraces()


Copyright © 2009 JBoss, a division of Red Hat, Inc.. All Rights Reserved.