|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.chenillekit.core.services.impl.ConfigurationServiceImpl
public class ConfigurationServiceImpl
| Constructor Summary | |
|---|---|
ConfigurationServiceImpl()
|
|
| Method Summary | |
|---|---|
org.apache.commons.configuration.Configuration |
getConfiguration()
get the configuration from system (JVM). |
org.apache.commons.configuration.Configuration |
getConfiguration(Context context)
get the configuration from JNDI context. |
org.apache.commons.configuration.Configuration |
getConfiguration(DataSource datasource,
String table,
String nameColumn,
String keyColumn,
String valueColumn,
String name)
Build a configuration from a table containing multiple configurations. |
org.apache.commons.configuration.Configuration |
getConfiguration(Resource configurationResource)
get the configuration from the named resource. |
org.apache.commons.configuration.Configuration |
getConfiguration(Resource configurationResource,
boolean mergeWithSysProps)
get the configuration from the named resource. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ConfigurationServiceImpl()
| Method Detail |
|---|
public org.apache.commons.configuration.Configuration getConfiguration(Resource configurationResource)
getConfiguration in interface ConfigurationServiceconfigurationResource - the configuration resource
public org.apache.commons.configuration.Configuration getConfiguration(Resource configurationResource,
boolean mergeWithSysProps)
getConfiguration in interface ConfigurationServiceconfigurationResource - the configuration resourcemergeWithSysProps - merge the configuration resource with system properties
public org.apache.commons.configuration.Configuration getConfiguration(Context context)
getConfiguration in interface ConfigurationServicecontext - the JNDI context
public org.apache.commons.configuration.Configuration getConfiguration()
getConfiguration in interface ConfigurationService
public org.apache.commons.configuration.Configuration getConfiguration(DataSource datasource,
String table,
String nameColumn,
String keyColumn,
String valueColumn,
String name)
getConfiguration in interface ConfigurationServicedatasource - the datasource to connect to the databasetable - the name of the table containing the configurationsnameColumn - the column containing the name of the configurationkeyColumn - the column containing the keys of the configurationvalueColumn - the column containing the values of the configurationname - the name of the configuration
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||