org.radrails.server.core
Class ServerConsoleManager

java.lang.Object
  extended byorg.radrails.server.core.ServerConsoleManager

public class ServerConsoleManager
extends java.lang.Object

Manages the active Server consoles.

Author:
Kyle

Method Summary
 void addConsole(ServerConsole console)
          Adds a console to the console manager.
static ServerConsoleManager getInstance()
           
 void removeTerminatedConsoles()
          Removes all terminated server consoles from the ConsolePlugin console manager and from this manager.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static ServerConsoleManager getInstance()
Returns:
the singleton instance of the manager

addConsole

public void addConsole(ServerConsole console)
Adds a console to the console manager.

Parameters:
console - the console to add

removeTerminatedConsoles

public void removeTerminatedConsoles()
Removes all terminated server consoles from the ConsolePlugin console manager and from this manager.