org.mule.util.MapCombiner Maven / Gradle / Ivy
/*
* $Id: MapCombiner.java 20321 2010-11-24 15:21:24Z dfeist $
* --------------------------------------------------------------------------------------
* Copyright (c) MuleSoft, Inc. All rights reserved. http://www.mulesoft.com
*
* The software in this package is published under the terms of the CPAL v1.0
* license, a copy of which has been included with this distribution in the
* LICENSE.txt file.
*/
package org.mule.util;
import java.io.Serializable;
import java.util.Collection;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import java.util.Set;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
/**
* This allows a collection (list) of maps to be defined in Spring, via the "list" property, and
* then presents all the maps as a single combine map at run time. For efficiency the combination
* of maps is done once and then cached.
*/
public class MapCombiner implements Map
© 2015 - 2024 Weber Informatics LLC | Privacy Policy