org.apache.falcon.util
Class ApplicationProperties
java.lang.Object
java.util.Dictionary<K,V>
java.util.Hashtable<Object,Object>
java.util.Properties
org.apache.falcon.util.ApplicationProperties
- All Implemented Interfaces:
- Serializable, Cloneable, Map<Object,Object>
- Direct Known Subclasses:
- BuildProperties, DeploymentProperties, RuntimeProperties, StartupProperties
public abstract class ApplicationProperties
- extends Properties
Base class for reading application properties.
- See Also:
- Serialized Form
Methods inherited from class java.util.Properties |
getProperty, getProperty, list, list, load, load, loadFromXML, propertyNames, save, setProperty, store, store, storeToXML, storeToXML, stringPropertyNames |
Methods inherited from class java.util.Hashtable |
clear, clone, contains, containsKey, containsValue, elements, entrySet, equals, get, hashCode, isEmpty, keys, keySet, put, putAll, rehash, remove, size, toString, values |
ApplicationProperties
protected ApplicationProperties()
throws FalconException
- Throws:
FalconException
getPropertyFile
protected abstract String getPropertyFile()
init
protected void init()
throws FalconException
- Throws:
FalconException
setDomain
protected void setDomain(String domain)
getDomain
public String getDomain()
loadProperties
protected void loadProperties()
throws FalconException
- Throws:
FalconException
loadProperties
protected void loadProperties(String propertyFileName,
String confDir)
throws FalconException
- This method reads the given properties file in the following order:
config.location & classpath. It falls back in that specific order.
- Throws:
FalconException
Copyright © 2013-2014 Apache Software Foundation. All Rights Reserved.