/** * Adds to the master set of properties contributed objects that don't match an already existing * key. * * @param map * map of {@link org.apache.tapestry.services.impl.InfrastructureContribution}keyed * on property name (String). */ private void addToProperties(Map map) { Iterator i = map.values().iterator(); while (i.hasNext()) { InfrastructureContribution ic = (InfrastructureContribution) i.next(); String propertyName = ic.getProperty(); if (_properties.containsKey(propertyName)) continue; _properties.put(propertyName, ic.getObject()); } }
/** * Adds to the master set of properties contributed objects that don't match an already existing * key. * * @param map * map of {@link org.apache.tapestry.services.impl.InfrastructureContribution}keyed * on property name (String). */ private void addToProperties(Map map) { Iterator i = map.values().iterator(); while (i.hasNext()) { InfrastructureContribution ic = (InfrastructureContribution) i.next(); String propertyName = ic.getProperty(); if (_properties.containsKey(propertyName)) continue; _properties.put(propertyName, ic.getObject()); } }