fr.paris5.shaman.system
Class SystemDirectory
fr.paris5.shaman.system.SystemDirectory
- All Implemented Interfaces:
- SystemConfigurationConstants
- public class SystemDirectory
- implements SystemConfigurationConstants
Allows easy access to all server attributes read from System configuration.
This component is not shown in the configuration file, but is systematically
created by InsightManager.
- Version:
- $Id: SystemDirectory.java,v 1.3 2002/07/01 10:04:15 caillette Exp $
- Author:
- Laurent Caillette
Constructor Summary |
SystemDirectory(org.apache.avalon.framework.configuration.Configuration configuration)
|
ROLE
public static final java.lang.String ROLE
systemEntries
private final java.util.Hashtable systemEntries
SystemDirectory
public SystemDirectory(org.apache.avalon.framework.configuration.Configuration configuration)
getProperty
public java.lang.String getProperty(SystemDirectory.ServerKey serverKey,
java.lang.String propertyName)
throws NoPropertyFoundException
- Parameters:
serverKey
- propertyName
- - Returns:
-
getProperty
public java.lang.String getProperty(SystemDirectory.ServerKey serverKey,
java.lang.String propertyName,
java.lang.String defaultValue)
getProperty
public java.lang.String getProperty(SystemDirectory.ServerKey serverKey,
java.lang.String propertyName,
boolean acceptNull)
throws NoPropertyFoundException
getPort
public int getPort(SystemDirectory.ServerKey serverKey)
throws NoPropertyFoundException
getHostName
public java.lang.String getHostName(SystemDirectory.ServerKey serverKey)
throws NoPropertyFoundException
Copyright © 2002 Laurent Caillette and l'Université René Descartes, Paris 5. All rights reserved.