soap tutorial

adriani.jws.template.util
Class ThreadManager

java.lang.Object
  extended by adriani.jws.template.util.ThreadManager

public class ThreadManager
extends java.lang.Object

A very simple class used only during development or debug to monitor the status of all the threads used by this project.


Field Summary
protected  java.lang.String leadingName
          Beginning of each logging message printed on the STDOUT .
protected static WSLogger logger
          Retrieving the logger instance to be used for this class (static).
 
Constructor Summary
ThreadManager()
           
 
Method Summary
static java.lang.StringBuffer getFormattedList()
          Returns the array of active threads in the current ThreadGroup.
static java.lang.Thread[] getList()
          Returns the array of active threads in the current ThreadGroup.
static void logList()
          Print in the LOG file the list of all active threads in the current ThreadGroup.
static void printList()
          Print on the STDOUT the list of all active threads in the current ThreadGroup.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

protected static WSLogger logger
Retrieving the logger instance to be used for this class (static).


leadingName

protected java.lang.String leadingName
Beginning of each logging message printed on the STDOUT .

Constructor Detail

ThreadManager

public ThreadManager()
Method Detail

printList

public static void printList()
Print on the STDOUT the list of all active threads in the current ThreadGroup.


logList

public static void logList()
Print in the LOG file the list of all active threads in the current ThreadGroup.


getFormattedList

public static java.lang.StringBuffer getFormattedList()
Returns the array of active threads in the current ThreadGroup.

Returns:
a StringBuffer object describing the printable thread list.

getList

public static java.lang.Thread[] getList()
Returns the array of active threads in the current ThreadGroup.

Returns:
the array of all the active threads.

Build 19/03/2014

Morpheus Technologies - making the Zion software
Copyright © 2009-2014 Morpheus Technologies. All Rights Reserved