List of usage examples for org.apache.wicket.util.collections MultiMap getFirstValue
public V getFirstValue(final K key)
From source file:org.forgerock.openam.amutils.config.processors.PlatformServiceProcessor.java
License:CDDL license
private void processServers(SubConfiguration serversConfig) { for (SubConfiguration server : serversConfig.getSubConfiguration()) { String serverName = server.getName(); MultiMap<String, String> properties = processAttributes(server.getAttributeValuePair()); String serverId = properties.getFirstValue("serverid"); servers.put(serverId, new Server(serverName, properties)); }//from w ww. ja va2s . co m }