com.infoengine.util
Class IEThread
java.lang.Object
java.lang.Thread
com.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.
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 |
parent
private Thread parent
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)
getParentThread
public Thread getParentThread()
- Returns:
- the creator of this thread