nl.knowledgeplaza.util.configuration
Class ConfigurationProviderAbstract

java.lang.Object
  extended by nl.knowledgeplaza.util.configuration.ConfigurationProviderAbstract
Direct Known Subclasses:
ConfigurationProviderMainArgs, ConfigurationProviderPropertyFile, ConfigurationProviderSystemProperties, ConfigurationProviderXmlFile

public abstract class ConfigurationProviderAbstract
extends Object


Field Summary
protected static org.apache.log4j.Logger log4j
           
protected static org.apache.log4j.Logger log4jHit
           
protected static org.apache.log4j.Logger log4jTrace
           
static String SOURCECODE_VERSION
          Standard variable for determining version of a class file.
 
Constructor Summary
ConfigurationProviderAbstract(Configuration configuration)
           
 
Method Summary
abstract  String describe()
           
static List<URL> findUrls(Configuration configuration, String suffix)
          search and read the property files with all kind of mutaties of the identifiers in the filename, like _systemname or _username.
abstract  String get(String propertyName)
           
abstract  Map<String,String> getCollection(String prefix)
           
protected  Configuration getConfiguration()
          Configuration
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SOURCECODE_VERSION

public static final String SOURCECODE_VERSION
Standard variable for determining version of a class file.

See Also:
Constant Field Values

log4j

protected static org.apache.log4j.Logger log4j

log4jHit

protected static org.apache.log4j.Logger log4jHit

log4jTrace

protected static org.apache.log4j.Logger log4jTrace
Constructor Detail

ConfigurationProviderAbstract

public ConfigurationProviderAbstract(Configuration configuration)
Method Detail

getConfiguration

protected Configuration getConfiguration()
Configuration


findUrls

public static List<URL> findUrls(Configuration configuration,
                                 String suffix)
search and read the property files with all kind of mutaties of the identifiers in the filename, like _systemname or _username.

Parameters:
suffix - without . (e.g. properties or xml)

get

public abstract String get(String propertyName)

getCollection

public abstract Map<String,String> getCollection(String prefix)

describe

public abstract String describe()


Copyright © 2011 KnowledgePlaza. All Rights Reserved.