org.emboss.jemboss.server
Class JembossThread

java.lang.Object
  extended byjava.lang.Thread
      extended byorg.emboss.jemboss.server.JembossThread
All Implemented Interfaces:
java.lang.Runnable

public class JembossThread
extends java.lang.Thread

Use to run an EMBOSS application in batch mode by running the process in a separate thread


Field Summary
private  java.lang.String project
          project directory
private  RunEmbossApplication2 rea
          runs the emboss process
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
JembossThread(RunEmbossApplication2 rea, java.lang.String project)
           
 
Method Summary
private  void createFinishedFile()
          Creates a file named "finished" in the project directory, that contains a time stamp.
 void run()
           
 
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
 

Field Detail

rea

private RunEmbossApplication2 rea
runs the emboss process


project

private java.lang.String project
project directory

Constructor Detail

JembossThread

public JembossThread(RunEmbossApplication2 rea,
                     java.lang.String project)
Parameters:
rea - runs the emboss process
project - project directory
Method Detail

run

public void run()

createFinishedFile

private void createFinishedFile()
Creates a file named "finished" in the project directory, that contains a time stamp.