javapool
Class ObjectPoolConsoleThread

java.lang.Object
  |
  +--java.lang.Thread
        |
        +--javapool.ObjectPoolConsoleThread
All Implemented Interfaces:
java.lang.Runnable

public class ObjectPoolConsoleThread
extends java.lang.Thread

Creates and manages the ObjectPoolManager management console


Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Method Summary
 void exit(java.lang.String msg)
          Closes the connection.
 boolean isClosed()
          Returns the current connection status
 void run()
          Starts the console in its own thread prompting the user for password and then displaying the menu options.
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, 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
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

run

public void run()
Starts the console in its own thread prompting the user for password and then displaying the menu options.
Overrides:
run in class java.lang.Thread

isClosed

public boolean isClosed()
Returns the current connection status

exit

public void exit(java.lang.String msg)
Closes the connection. Invoked when another Console has shutdown the ObjectPoolSystem