de.kosi.admin
Class AdminInterfaceImpl

java.lang.Object
  |
  +--de.kosi.admin.AdminInterfaceImpl
All Implemented Interfaces:
AdminInterface, java.rmi.Remote

public class AdminInterfaceImpl
extends java.lang.Object
implements AdminInterface

The administration interface gives the administration client a possibility to get a list of all configurable components. Configurable instances have to register with the singleton instance of this class to be included in the administration client.

ChangeLog:

 $Log: AdminInterfaceImpl.java,v $
 Revision 1.4  2001/05/22 16:05:24  jiriki
 Made files more compliant to Coding Conventions.

 Revision 1.3  2001/05/22 10:16:02  jiriki
 - Removed old unused Client class
 - Removed unused import statements.

 Revision 1.2  2001/04/30 19:08:34  jiriki
 Improved Exception handling of AdminClient

 Revision 1.1.1.1  2001/04/29 18:05:15  jiriki
 Imported sources from zola.

 Revision 1.2  2001/03/14 18:40:44  wombat
 Updated Documentation, removed bugs in Gui factory

 

Version:
$Revision: 1.4 $ ($Date: 2001/05/22 16:05:24 $)
Author:
Niklas Mehner

Method Summary
static AdminInterfaceImpl getAdminInterfaceImpl()
          Returns the singleton instance of this class.
 Configurable getConfigurable(java.lang.String name)
          Return a Configurable interface for a given name.
 java.util.Collection getConfigurableEntries()
          Return the names of the configurable entries.
 void registerConfigurable(java.lang.String name, Configurable configurable)
          Register a Configurable implementation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getConfigurableEntries

public java.util.Collection getConfigurableEntries()
Return the names of the configurable entries.
Specified by:
getConfigurableEntries in interface AdminInterface
Returns:
A Collection containing String values.

getConfigurable

public Configurable getConfigurable(java.lang.String name)
Return a Configurable interface for a given name.
Specified by:
getConfigurable in interface AdminInterface
Parameters:
name - Name of the Configurable to return.
Returns:
Configurable, or null if there is no Configurable of this name.

getAdminInterfaceImpl

public static AdminInterfaceImpl getAdminInterfaceImpl()
Returns the singleton instance of this class.
Returns:
The AdminInterfaceImpl.

registerConfigurable

public void registerConfigurable(java.lang.String name,
                                 Configurable configurable)
Register a Configurable implementation. After a Configurable is registered, it can be configured using the administration client.
Parameters:
name - Name of the Configurable.
configurable - The Configureable implementation.