|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjava.lang.Thread
biz.junginger.modules.util.AbstractThreadModule
Subject to the MyModules Software Licence (based on the Apache Software License).
Copyright (c) 2003 Markus Oliver Junginger. All rights reserved.
http://www.junginger.biz
| Field Summary |
| Fields inherited from class java.lang.Thread |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
| Constructor Summary | |
AbstractThreadModule()
|
|
| Method Summary | |
void |
moduleDestroy()
Destroys the module. The module should free all resources. The module will not be used after this call. |
void |
moduleInit(java.util.Map modules)
Initialization phase TWO of the module. Its individual dependencies ARE met. This is the main initialization phase and the module can use other modules, on which it depends. |
void |
modulePrepare(java.util.Properties properties)
Initialization phase ONE of the module. Its individual dependencies ARE NOT met. To support multi-threading more efficiently, the module can prepare itself as much as possible at this point. |
void |
moduleStart()
Starts the Thread. |
| 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 |
| Constructor Detail |
public AbstractThreadModule()
| Method Detail |
public void modulePrepare(java.util.Properties properties)
throws java.lang.Exception
modulePrepare in interface Modulejava.lang.Exception
public void moduleInit(java.util.Map modules)
throws java.lang.Exception
moduleInit in interface Modulejava.lang.Exception
public void moduleStart()
throws java.lang.Exception
start() themselves.
moduleStart in interface Modulejava.lang.Exceptionpublic void moduleDestroy()
moduleDestroy in interface Module
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||