com.infoengine.util
Class IEThread

java.lang.Object
  extended byjava.lang.Thread
      extended bycom.infoengine.util.IEThread
All Implemented Interfaces:
Runnable
Direct Known Subclasses:
BasicTasklet.TaskRunner, BasicTasklet.WebjectRunner, DispatchTasks.TaskRunner, InfoEngine.ServerThread, MsgService.IEJMSRecoveryThread, MsgService.MOMSharedPool, ParallelTag.EmbeddableRunner, SocketAccess.SocketThread, Webject.WebjectRunner

public class IEThread
extends Thread

Simple Thread super class that should be used anywhere in Info*Engine where java.lang.Thread would normally be extended. In addition developers should make sure that constructors of classes extending this class call super() to ensure proper initialization. Without the ability to reliably determine the ancestry of a Thread com.infoengine.au.IEProperties may not be able to tie an executing Thread with an appropriate service name and in turn with the appropriate property set or a property set at all. The results of an executing Threads not having the appropriate property set are unpredictable.


Field Summary
private  Thread parent
           
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
IEThread()
          create a new thread and initialize the parent to the currently running thread.
IEThread(Runnable target)
           
IEThread(Runnable target, String name)
           
IEThread(String name)
           
IEThread(ThreadGroup group, Runnable target)
           
IEThread(ThreadGroup group, Runnable target, String name)
           
IEThread(ThreadGroup group, String name)
           
 
Method Summary
 Thread getParentThread()
           
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, run, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

parent

private Thread parent
Constructor Detail

IEThread

public IEThread()
create a new thread and initialize the parent to the currently running thread.


IEThread

public IEThread(Runnable target)

IEThread

public IEThread(Runnable target,
                String name)

IEThread

public IEThread(String name)

IEThread

public IEThread(ThreadGroup group,
                Runnable target)

IEThread

public IEThread(ThreadGroup group,
                Runnable target,
                String name)

IEThread

public IEThread(ThreadGroup group,
                String name)
Method Detail

getParentThread

public Thread getParentThread()
Returns:
the creator of this thread