@Override
    public Map<String, String> extractSystemConfigs(String name) {
        for (Reference reference : this.rootConfiguration.getRefs()) {
            ReferenceChildConfiguration childConf = reference.getReference();
            if (childConf.getName().equals(name)) {
                Map<String, String> referenceConfigs = new HashMap<>();
                referenceConfigs.put(SiddhiConstants.ANNOTATION_ELEMENT_TYPE, childConf.getType());
                referenceConfigs.putAll(childConf.getProperties());
                return referenceConfigs;
            }
        }
        if (LOG.isDebugEnabled()) {
            LOG.debug("Could not find a matching reference for name: '" + name + "'!");
        }
        return new HashMap<>();
    }
Initialises YAML Config Manager by parsing the YAML file

@throws YAMLConfigManagerException Exception is thrown if there are issues in processing thr yaml file
modules/siddhi-core/src/main/java/io/siddhi/core/util/config/YAMLConfigManager.java