org.apache.directory.studio.apacheds
Class ConsolesHandler

java.lang.Object
  extended by org.apache.directory.studio.apacheds.ConsolesHandler

public class ConsolesHandler
extends java.lang.Object

This class implements the consoles handler.

It is used to store all the consoles associated to servers.

Version:
$Rev$, $Date$
Author:
Apache Directory Project

Method Summary
static ConsolesHandler getDefault()
          Gets the default consoles handler (singleton pattern).
 LogMessageConsole getLogMessageConsole(java.lang.String serverId)
          Gets the log message console associated with the if of the server.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getDefault

public static ConsolesHandler getDefault()
Gets the default consoles handler (singleton pattern).

Returns:
the default consoles handler

getLogMessageConsole

public LogMessageConsole getLogMessageConsole(java.lang.String serverId)
Gets the log message console associated with the if of the server.

Parameters:
serverId - the id of the server
Returns:
the associated log message console.


Copyright © 2003-2009 Apache Software Foundation. All Rights Reserved.