water.deploy
Class NodeCL

java.lang.Object
  extended by java.lang.Thread
      extended by water.deploy.NodeCL
All Implemented Interfaces:
java.lang.Runnable, Node

public class NodeCL
extends java.lang.Thread
implements Node

Creates a node in-process using a separate class loader.


Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler
 
Field Summary
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
NodeCL(java.lang.String[] args)
           
 
Method Summary
static void close_()
           
 void close()
           
 void inheritIO()
           
 void kill()
           
 void persistIO(java.lang.String outFile, java.lang.String errFile)
           
 void run()
           
 int waitFor()
           
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface water.deploy.Node
start
 

Constructor Detail

NodeCL

public NodeCL(java.lang.String[] args)
Method Detail

inheritIO

public void inheritIO()
Specified by:
inheritIO in interface Node

persistIO

public void persistIO(java.lang.String outFile,
                      java.lang.String errFile)
               throws java.io.IOException
Specified by:
persistIO in interface Node
Throws:
java.io.IOException

kill

public void kill()
Specified by:
kill in interface Node

waitFor

public int waitFor()
Specified by:
waitFor in interface Node

run

public void run()
Specified by:
run in interface java.lang.Runnable
Overrides:
run in class java.lang.Thread

close

public void close()

close_

public static void close_()