Package org.apache.felix.utils.collections

Examples of org.apache.felix.utils.collections.DictionaryAsMap$KeyEntry


        String pid[] = parsePid(f.getName());
        Configuration config = getConfiguration(toConfigKey(f), pid[0], pid[1]);

        Dictionary props = config.getProperties();
        Hashtable old = props != null ? new Hashtable(new DictionaryAsMap(props)) : null;
        if (old != null) {
          old.remove( DirectoryWatcher.FILENAME );
          old.remove( Constants.SERVICE_PID );
          old.remove( ConfigurationAdmin.SERVICE_FACTORYPID );
        }
View Full Code Here


        }
    }

    public void updated(String pid, Dictionary properties)
    {
        InterpolationHelper.performSubstitution(new DictionaryAsMap(properties), context);
        DirectoryWatcher watcher = null;
        synchronized (watchers)
        {
            watcher = (DirectoryWatcher) watchers.get(pid);
            if (watcher != null && watcher.getProperties().equals(properties))
View Full Code Here

TOP

Related Classes of org.apache.felix.utils.collections.DictionaryAsMap$KeyEntry

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.