All Downloads are FREE. Search and download functionalities are using the official Maven repository.

eu.unicore.xuudb.CommonConfiguration Maven / Gradle / Ivy

There is a newer version: 2.10.3
Show newest version
package eu.unicore.xuudb;

import java.util.Map;
import java.util.Properties;

import org.apache.logging.log4j.Logger;

import eu.unicore.util.configuration.ConfigurationException;
import eu.unicore.util.configuration.PropertiesHelper;
import eu.unicore.util.configuration.PropertyMD;

/**
 * Defines common things for client's and server's configuration classes.
 * 
 * @author K. Benedyczak
 */
public abstract class CommonConfiguration extends PropertiesHelper {

	public static final String PROP_PREFIX = "xuudb.";
	
	public static final String PROP_ADDRESS = "address";

	public static final String DEFAULT_ADDRESS = "http://localhost:34463";

	public CommonConfiguration(String prefix, Properties properties,
			Map defaults, Logger log)
			throws ConfigurationException
	{
		super(prefix, properties, defaults, log);
	}

	public Properties getProperties() {
		return properties;
	}
}











© 2015 - 2024 Weber Informatics LLC | Privacy Policy