net.flexmojos.oss.test
Class AbstractControlledThread

java.lang.Object
  extended by org.codehaus.plexus.logging.AbstractLogEnabled
      extended by net.flexmojos.oss.test.AbstractControlledThread
All Implemented Interfaces:
Runnable, ControlledThread, org.codehaus.plexus.logging.LogEnabled
Direct Known Subclasses:
AbstractSocketThread, AsVmLauncher

public abstract class AbstractControlledThread
extends org.codehaus.plexus.logging.AbstractLogEnabled
implements ControlledThread, Runnable


Field Summary
protected  Throwable error
           
protected  ThreadStatus status
           
 
Constructor Summary
AbstractControlledThread()
           
 
Method Summary
 Throwable getError()
           
 ThreadStatus getStatus()
           
protected  void launch()
           
 void lock()
           
protected  void reset()
           
 void unlock()
           
 
Methods inherited from class org.codehaus.plexus.logging.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface net.flexmojos.oss.test.ControlledThread
stop
 
Methods inherited from interface java.lang.Runnable
run
 

Field Detail

status

protected ThreadStatus status

error

protected Throwable error
Constructor Detail

AbstractControlledThread

public AbstractControlledThread()
Method Detail

launch

protected void launch()

getStatus

public final ThreadStatus getStatus()
Specified by:
getStatus in interface ControlledThread

getError

public final Throwable getError()
Specified by:
getError in interface ControlledThread

lock

public void lock()
Specified by:
lock in interface ControlledThread

unlock

public void unlock()
Specified by:
unlock in interface ControlledThread

reset

protected void reset()


Copyright © 2008–2014 flexmojos. All rights reserved.