|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public ConfigService
The Config Service allows to access config variables as defined by the system. The service can be retrieved using the following code:
var configService = com.ibm.mashups.services.ServiceManager.getService(
com.ibm.mashups.enabler.services.ConfigService.SERVICE_NAME);
| Field Summary | |
|---|---|
String |
SERVICE_NAME
The service name to be used to fetch the service from the ServiceManager |
| Method Summary | |
|---|---|
String |
getValue(String name)
This method returns the value of the config variable as defined by the system |
ConfigObject |
getConfigObject(String name)
This method returns the value of the config object for a config provider |
String[] |
getConfigProviderNames()
This method returns the Config Provider names. |
| Field Detail |
|---|
String SERVICE_NAME
| Method Detail |
|---|
String getValue(String name)
name -
the name of the config variable
ConfigObject getConfigObject(String name)
name -
the name of the config provider
String[] getConfigProviderNames()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||