com.liferay.portal.configuration
Class ConfigurationImpl
java.lang.Object
com.liferay.portal.configuration.ConfigurationImpl
- All Implemented Interfaces:
- Configuration
public class ConfigurationImpl
- extends Object
- implements Configuration
Method Summary |
void |
addProperties(Properties properties)
|
protected String |
buildFilterCacheKey(String key,
Filter filter,
boolean arrayValue)
|
void |
clearCache()
|
boolean |
contains(String key)
|
protected Object |
fixArrayValue(String cacheKey,
String[] array)
|
String |
get(String key)
|
String |
get(String key,
Filter filter)
|
String[] |
getArray(String key)
|
String[] |
getArray(String key,
Filter filter)
|
protected com.germinus.easyconf.ComponentProperties |
getComponentProperties()
|
protected com.germinus.easyconf.Filter |
getEasyConfFilter(Filter filter)
|
protected String |
getFileName(ClassLoader classLoader,
String name)
|
Properties |
getProperties()
|
Properties |
getProperties(String prefix,
boolean removePrefix)
|
protected void |
printSources(long companyId,
String webId)
|
void |
removeProperties(Properties properties)
|
void |
set(String key,
String value)
|
protected void |
updateBasePath(ClassLoader classLoader,
String name)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConfigurationImpl
public ConfigurationImpl(ClassLoader classLoader,
String name)
ConfigurationImpl
public ConfigurationImpl(ClassLoader classLoader,
String name,
long companyId)
addProperties
public void addProperties(Properties properties)
- Specified by:
addProperties
in interface Configuration
clearCache
public void clearCache()
- Specified by:
clearCache
in interface Configuration
contains
public boolean contains(String key)
- Specified by:
contains
in interface Configuration
get
public String get(String key)
- Specified by:
get
in interface Configuration
get
public String get(String key,
Filter filter)
- Specified by:
get
in interface Configuration
getArray
public String[] getArray(String key)
- Specified by:
getArray
in interface Configuration
getArray
public String[] getArray(String key,
Filter filter)
- Specified by:
getArray
in interface Configuration
getProperties
public Properties getProperties()
- Specified by:
getProperties
in interface Configuration
getProperties
public Properties getProperties(String prefix,
boolean removePrefix)
- Specified by:
getProperties
in interface Configuration
removeProperties
public void removeProperties(Properties properties)
- Specified by:
removeProperties
in interface Configuration
set
public void set(String key,
String value)
- Specified by:
set
in interface Configuration
buildFilterCacheKey
protected String buildFilterCacheKey(String key,
Filter filter,
boolean arrayValue)
fixArrayValue
protected Object fixArrayValue(String cacheKey,
String[] array)
getComponentProperties
protected com.germinus.easyconf.ComponentProperties getComponentProperties()
getEasyConfFilter
protected com.germinus.easyconf.Filter getEasyConfFilter(Filter filter)
getFileName
protected String getFileName(ClassLoader classLoader,
String name)
printSources
protected void printSources(long companyId,
String webId)
updateBasePath
protected void updateBasePath(ClassLoader classLoader,
String name)