Get all configuration values in a Properties object
@return the properties
1320
public Properties asProperties() {
        final Properties props = new Properties();
        other.forEach(props::setProperty);
        props.setProperty("bootstrap.servers", bootstrapServers);
        return props;
    }
753748
public Map<String, Object> getProperties() {
        // Shallow copy entries to a newly instantiated HashMap.
        Map<String, Object> clone = new HashMap<String, Object>();
        Set<Entry<String, Object>> set = _properties.entrySet();
        
        for (Entry<String, Object> entry : set) {
            // There wouldn't be any entry with a null value.
            clone.put(entry.getKey(), entry.getValue());
        }
        
        return clone;
    }
1017234
@ManagedAttribute()
	public List<String> getEffectiveProperties() {
		final List<String> properties = new LinkedList<String>();
		for (final String key : myProperties.stringPropertyNames()) {
			properties.add(key + "=" + myProperties.get(key));
		}
		return properties;
	}
1117334
public List<FacesConfigPropertyType<FacesConfigConverterType<T>>> getAllProperty()
   {
      List<FacesConfigPropertyType<FacesConfigConverterType<T>>> list = new ArrayList<FacesConfigPropertyType<FacesConfigConverterType<T>>>();
      List<Node> nodeList = childNode.get("property");
      for(Node node: nodeList)
      {
         FacesConfigPropertyType<FacesConfigConverterType<T>>  type = new FacesConfigPropertyTypeImpl<FacesConfigConverterType<T>>(this, "property", childNode, node);
         list.add(type);
      }
      return list;
   }
562327
@Override
	public final Properties getConfigProperties() {
		Properties props = doReadConfig();

		// Initialize hashcode of newly loaded properties.
		if (0 == this.propsHashCode) {
			this.propsHashCode = props.hashCode();
		}

		return props;
	}
935890
public Map<String,Object> getProperties()
    {
        Map<String,Object> properties = new Hashtable<String,Object>();
        ParamDispatcher params = this;
        for (Enumeration<String> e = params.keys() ; e.hasMoreElements() ;)
        {
            String strKey = e.nextElement();
            String strValue = params.get(strKey).toString();
            properties.put(strKey, strValue);
        }
        return properties;
    }
369973
public List<JspPropertyGroupType<JspConfigType<T>>> getAllJspPropertyGroup()
   {
      List<JspPropertyGroupType<JspConfigType<T>>> list = new ArrayList<JspPropertyGroupType<JspConfigType<T>>>();
      List<Node> nodeList = childNode.get("jsp-property-group");
      for(Node node: nodeList)
      {
         JspPropertyGroupType<JspConfigType<T>>  type = new JspPropertyGroupTypeImpl<JspConfigType<T>>(this, "jsp-property-group", childNode, node);
         list.add(type);
      }
      return list;
   }
1073467
protected Map<PropertyKey, Object> properties() {

        if (properties == null) {
            properties = new EnumMap<>(PropertyKey.class);
        }

        return properties;
    }
583250
public Properties properties() {
        if (tc.isEntryEnabled())
            Tr.entry(tc, "propertis", this);
        if (tc.isEntryEnabled())
            Tr.exit(tc, "properties", _props);
        return _props;
    }
441589
private Properties getElementProperties(Map<String, Object> configProps, String elementName, String... attrKeys) {
        Properties properties = new Properties();
        for (String attrKey : attrKeys) {
            String value = (String) configProps.get(attrKey);
            if (value != null && value.length() > 0) {
                value = (String) getValue(value);
                properties.put(attrKey, value);
            }
        }

        if (properties.isEmpty() || properties.size() != attrKeys.length) {
            if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
                //TODO: NLS warning msg
                Tr.debug(tc, "The authFilter element " + elementName + " specified in the server.xml file is missing one or more of these attributes "
                             + printAttrKeys(attrKeys));
            }
            return null;
        } else
            return properties;
    }
885349
@Override
    public Properties getAllProperties() {
        Properties props = new Properties();
        for (String name : cachedValues.keySet()) {
            props.put(name, String.valueOf(cachedValues.get(name)));
        }
        return props;
    }
734523
public function properties()
    {
        if ($this->properties === null || $this->parsedProperties === false) {
            $this->parsedProperties = true;

            $model = $this->proto();
            $properties = $model->metadata()->properties();

            $listProperties = null;
            if ($this->properties === null) {
                $collectionConfig = $this->collectionConfig();
                if (isset($collectionConfig['properties'])) {
                    $listProperties = array_flip($collectionConfig['properties']);
                }
            } else {
                $listProperties = array_flip($this->properties);
            }

            if ($listProperties) {
                // Replacing values of listProperties from index to actual property values
                $properties = array_replace($listProperties, $properties);
                // Get only the keys that are in listProperties from props
                $properties = array_intersect_key($properties, $listProperties);
            }

            $this->properties = $properties;
        }

        return $this->properties;
    }
1257804
@SuppressWarnings("unchecked")
    public Dictionary<String, String> getConfigurationProperties(Dictionary<String, String> dictionary, boolean returnCopy)
    {
        if (returnCopy)
            dictionary = putAll(dictionary, null);
        if (dictionary == null)
            dictionary = new Hashtable<String, String>();
        try {
            String servicePid = this.getServicePid();
            if (servicePid != null)
            {
                ServiceReference caRef = context.getServiceReference(ConfigurationAdmin.class.getName());
                if (caRef != null)
                {
                    ConfigurationAdmin configAdmin = (ConfigurationAdmin)context.getService(caRef);
                    Configuration config = configAdmin.getConfiguration(servicePid);

                    Dictionary<String, String> configProperties = config.getProperties();
                    dictionary = putAll(configProperties, dictionary);
                }
            }
        } catch (IOException e) {
            e.printStackTrace();
        }
        return dictionary;
    }
1040401
public String[] getPropertyList() {
        String[] array = new String[size()];
        for (int i=0 ; i<size(); i++)
            array[i] = get(i).name;
        return array;
    }
888740
protected Collection<String> getPropertyValues(final Property property) {
        final ExtendedIterator<Triple> iterator = graph.find(Node.ANY,
                                                             property.asNode(),
                                                             Node.ANY);
        final Set<String> set = new HashSet<>();
        while (iterator.hasNext()) {
            final Node object = iterator.next().getObject();
            if (object.isLiteral()) {
                set.add(object.getLiteralValue().toString());
            } else if (object.isURI()) {
                set.add(object.getURI().toString());
            } else {
                set.add(object.toString());
            }
        }
        return set;
    }
1071802
public Configuration withProperties(java.util.Map<String, String> properties) {
        setProperties(properties);
        return this;
    }
893496
public Map getProperties()
    {
        Map properties = super.getProperties();
        if (m_propertiesForFilter != null)
            properties.putAll(m_propertiesForFilter);
        return properties;
    }