public abstract class AbstractConfiguration
extends org.apache.commons.configuration.CompositeConfiguration
Modifier and Type | Field and Description |
---|---|
protected static String |
LEDGER_MANAGER_TYPE |
protected static String |
ZK_LEDGERS_ROOT_PATH |
Modifier | Constructor and Description |
---|---|
protected |
AbstractConfiguration() |
Modifier and Type | Method and Description |
---|---|
String |
getLedgerManagerType()
Get Ledger Manager Type.
|
String |
getZkLedgersRootPath()
Get Zk Ledgers Root Path.
|
void |
loadConf(AbstractConfiguration baseConf)
You can load configuration from other configuration
|
void |
loadConf(URL confURL)
You can load configurations in precedence order.
|
void |
setLedgerManagerType(String lmType)
Set Ledger Manager Type.
|
void |
setZkLedgersRootPath(String zkLedgersPath)
Set Zk Ledgers Root Path.
|
addConfiguration, addPropertyDirect, clear, clearPropertyDirect, clone, containsKey, getConfiguration, getInMemoryConfiguration, getKeys, getKeys, getList, getNumberOfConfigurations, getProperty, getSource, getStringArray, isEmpty, removeConfiguration, setDelimiterParsingDisabled, setListDelimiter
addErrorLogListener, addProperty, append, clearProperty, copy, createInterpolator, getBigDecimal, getBigDecimal, getBigInteger, getBigInteger, getBoolean, getBoolean, getBoolean, getByte, getByte, getByte, getDefaultListDelimiter, getDelimiter, getDouble, getDouble, getDouble, getFloat, getFloat, getFloat, getInt, getInt, getInteger, getInterpolator, getList, getListDelimiter, getLogger, getLong, getLong, getLong, getProperties, getProperties, getShort, getShort, getShort, getString, getString, getSubstitutor, interpolate, interpolate, interpolatedConfiguration, interpolateHelper, isDelimiterParsingDisabled, isThrowExceptionOnMissing, resolveContainerStore, setDefaultListDelimiter, setDelimiter, setLogger, setProperty, setThrowExceptionOnMissing, subset
addConfigurationListener, addErrorListener, clearConfigurationListeners, clearErrorListeners, createErrorEvent, createEvent, fireError, fireEvent, getConfigurationListeners, getErrorListeners, isDetailEvents, removeConfigurationListener, removeErrorListener, setDetailEvents
protected static final String LEDGER_MANAGER_TYPE
protected static final String ZK_LEDGERS_ROOT_PATH
public void loadConf(URL confURL) throws org.apache.commons.configuration.ConfigurationException
confURL
- Configuration URLorg.apache.commons.configuration.ConfigurationException
public void loadConf(AbstractConfiguration baseConf)
baseConf
- Other Configurationpublic void setLedgerManagerType(String lmType)
lmType
- Ledger Manager Typepublic String getLedgerManagerType()
org.apache.commons.configuration.ConfigurationException
public void setZkLedgersRootPath(String zkLedgersPath)
zkLedgersPath
- zk ledgers root pathpublic String getZkLedgersRootPath()
Copyright © 2014 The Apache Software Foundation. All Rights Reserved.