Accessing service configuration data
From CCIL
ConfigHelper is defined in the cybercore-api artefact. You can reference it using the following Maven snippet:
<dependency> <groupId>cybercore</groupId> <version>2.4.3-SNAPSHOT</version> <artifactId>cybercore-api</artifactId> </dependency>
Usage
ConfigHelper config = LocalServer.createConfigHelper();
Getting data
String dictionaryBase = serviceConfig.getString(IGNORE_LIST_NS, PROP_DICTIONARY_LOCATION, SharpfindConstants.DEFAULT_DICTIONARY_LOCATION);