webmngr.view
Class ServerManager
java.lang.Object
|
+--webmngr.view.ServerManager
- public class ServerManager
- extends java.lang.Object
Esta classe representa o gerente de servidores rmi que são iniciados quando o
webmanager está ativo.
Title: WebManager v2.0
Description: A web tool to network management.
Copyright: Copyright (c) 2002
Company: DSC/UFPB
- Author:
-
Constructor Summary |
ServerManager()
Construtor default que inicia com nenhum servidor rmi. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
pinstance
protected static ServerManager pinstance
- Referência para o singleton.
ServerManager
public ServerManager()
- Construtor default que inicia com nenhum servidor rmi.
instance
public static ServerManager instance()
throws java.rmi.RemoteException
- Singleton.
getServers
public java.util.Iterator getServers()
- Retorna todos os servidores RMI.
- Returns:
- Iterator a lista de servidores rmi
startRMIServers
public void startRMIServers()
- Inicia todos os servidores de objetos remotos.
addServer
public void addServer(Server newServer)
- Adiciona um novo servidor
- Parameters:
newServer
- o novo servidor RMI