private void getConfigProperties(Map<String, Object> configProps, Properties properties, String elementName) {
        Set<Entry<String, Object>> entries = configProps.entrySet();
        for (Entry<String, Object> entry : entries) {
            String key = entry.getKey();
            if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
                Tr.debug(tc, "found key: " + key);
            }
            // Skip certain keys
            if (key.startsWith(".")
                    || key.startsWith("config.")
                    || key.startsWith("service.")
                    || key.startsWith("property.")
                    || key.equals("id")) {
                continue;
            }
            Object value = entry.getValue();
            if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
                Tr.debug(tc, "key: " + key + " value: " + value);
            }
            // For scope to claims map generate String array from comma delimited string
            if (elementName.equals(CFG_KEY_SCOPE_TO_CLAIM_MAP)) {
                String[] valuesArray = ((String) value).split(CFG_VALUES_DELIMITER);
                for (int i = 0; i < valuesArray.length; i++) {
                    valuesArray[i] = valuesArray[i].trim();
                }
                value = valuesArray;
            } else {
                value = getValue(value);
            }
            properties.put(key, value);
        }
    }
private void getConfigProperties ( Map < String , Object > configProps , Properties properties , String elementName ) { Set < Entry < String , Object > > entries = configProps . entrySet ( ) ; for ( Entry < String , Object > entry : entries ) { String key = entry . getKey ( ) ; if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isDebugEnabled ( ) ) { Tr . debug ( tc , "found key: " + key ) ; } if ( key . startsWith ( "." ) || key . startsWith ( "config." ) || key . startsWith ( "service." ) || key . startsWith ( "property." ) || key . equals ( "id" ) ) { continue ; } Object value = entry . getValue ( ) ; if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isDebugEnabled ( ) ) { Tr . debug ( tc , "key: " + key + " value: " + value ) ; } if ( elementName . equals ( CFG_KEY_SCOPE_TO_CLAIM_MAP ) ) { String [ ] valuesArray = ( ( String ) value ) . split ( CFG_VALUES_DELIMITER ) ; for ( int i = 0 ; i < valuesArray . length ; i ++ ) { valuesArray [ i ] = valuesArray [ i ] . trim ( ) ; } value = valuesArray ; } else { value = getValue ( value ) ; } properties . put ( key , value ) ; } }
Get user specified properties from the given element and/or it's <property> subelements.
Ignore system generated props, add the user props to the given Properties object

@param configProps
props from the config
@param properties
add properties we're interested in to this collection
@param elementName
the element being processed