Save This Page
Home » cactus-1.8.0-src » org.apache.cactus.integration.ant.container.enhydra » [javadoc | source]
org.apache.cactus.integration.ant.container.enhydra
public class: EnhydraRun [javadoc | source]
java.lang.Object
   java.lang.Thread
      org.apache.cactus.integration.ant.container.AbstractServerRun
         org.apache.cactus.integration.ant.container.enhydra.EnhydraRun

All Implemented Interfaces:
    Runnable

Starts/stop Enhydra by setting up a listener socket.
Fields inherited from java.lang.Thread:
MIN_PRIORITY,  NORM_PRIORITY,  MAX_PRIORITY
Constructor:
 public EnhydraRun(String[] theArgs) 
    Parameters:
    theArgs - the command line arguments
Method from org.apache.cactus.integration.ant.container.enhydra.EnhydraRun Summary:
doStartServer,   doStopServer,   main
Methods from org.apache.cactus.integration.ant.container.AbstractServerRun:
doRun,   doStartServer,   doStopServer,   run
Methods from java.lang.Thread:
activeCount,   checkAccess,   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,   run,   setContextClassLoader,   setDaemon,   setDefaultUncaughtExceptionHandler,   setName,   setPriority,   setUncaughtExceptionHandler,   sleep,   sleep,   start,   stop,   stop,   suspend,   toString,   yield
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.cactus.integration.ant.container.enhydra.EnhydraRun Detail:
 protected final Thread doStartServer(String[] theArgs) 
    Start the Enhydra server. We use reflection so that the Enhydra jars do not need to be in the classpath to compile this class.
 protected final  void doStopServer(String[] theArgs,
    Thread theRunningServerThread) throws Exception 
    Stops the Enhydra server. We use reflection so that the Enhydra jars do not need to be in the classpath to compile this class.
 public static  void main(String[] theArgs) 
    Entry point to start/stop the Enhydra server.