on 12-19-2017 1:30 PM
I don't think there is. When I needed this kind of functionality, I had to make my own service / method. You can use de.hybris.platform.servicelayer.config.ConfigurationService.getConfiguration(), like this:
public Map<String, String> buildConfigurationMap()
{
final Map<String, String> sortedMap = new TreeMap<String, String>();
final Configuration configuration = configurationService.getConfiguration();
final Iterator<String> configurationKeys = configuration.getKeys();
while (configurationKeys.hasNext())
{
final String key = configurationKeys.next();
final String value = configuration.getString(key);
sortedMap.put(key, value);
}
return sortedMap;
}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
7 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.