|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Thread
org.apache.avalon.activation.appliance.impl.BlockThread
The DefaultBlockThread provides support for the execution of a block.
Field Summary |
Fields inherited from class java.lang.Thread |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
Constructor Summary | |
BlockThread(Block block)
Creation of a block thread. |
Method Summary | |
void |
decommission()
Set the termination flag to true. |
Throwable |
getError()
Returns an error contition that may occur during startup. |
void |
run()
Thread execution during which the component managed by the block will be deployed. |
boolean |
started()
Return the started state of the block thread. |
boolean |
stopped()
Return the stoppped state of the block 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, 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 BlockThread(Block block) throws Exception
block
- the blockMethod Detail |
public void run()
public void decommission()
public boolean started()
public boolean stopped()
public Throwable getError()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |