Examples of DictionaryAsMap


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

        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

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

        }
    }

    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
Copyright © 2018 www.massapi.com. 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.