configadmin/src/main/java/org/apache/felix/cm/impl/persistence/MemoryPersistenceManager.java [92:117]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    private final CaseInsensitiveDictionary cache(final Dictionary props)
    {
        final String pid = (String) props.get( Constants.SERVICE_PID );
        CaseInsensitiveDictionary dict = null;
        if ( pid != null )
        {
            dict = cache.get(pid);
            if ( dict == null )
            {
                dict = new CaseInsensitiveDictionary(props);
                cache.put( pid, dict );
                final String factoryPid = (String)props.get(ConfigurationAdmin.SERVICE_FACTORYPID);
                if ( factoryPid != null )
                {
                    Set<String> factoryPids = this.factoryConfigCache.get(factoryPid);
                    if ( factoryPids == null )
                    {
                        factoryPids = new HashSet<>();
                        this.factoryConfigCache.put(factoryPid, factoryPids);
                    }
                    factoryPids.add(pid);
                }
            }
        }
        return dict;
    }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



configadmin/src/main/java/org/apache/felix/cm/impl/persistence/CachingPersistenceManagerProxy.java [162:187]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    private final CaseInsensitiveDictionary cache(final Dictionary props)
    {
        final String pid = (String) props.get( Constants.SERVICE_PID );
        CaseInsensitiveDictionary dict = null;
        if ( pid != null )
        {
            dict = cache.get(pid);
            if ( dict == null )
            {
                dict = new CaseInsensitiveDictionary(props);
                cache.put( pid, dict );
                final String factoryPid = (String)props.get(ConfigurationAdmin.SERVICE_FACTORYPID);
                if ( factoryPid != null )
                {
                    Set<String> factoryPids = this.factoryConfigCache.get(factoryPid);
                    if ( factoryPids == null )
                    {
                        factoryPids = new HashSet<>();
                        this.factoryConfigCache.put(factoryPid, factoryPids);
                    }
                    factoryPids.add(pid);
                }
            }
        }
        return dict;
    }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



