public class MapFactoryBean extends Object implements org.springframework.beans.factory.FactoryBean
FactoryBean that creates a Map from a collection of MapEntry and the type of the map.| Constructor and Description |
|---|
MapFactoryBean(List<MapEntry> mapEntries,
Class<? extends Map> mapType) |
| Modifier and Type | Method and Description |
|---|---|
Map |
getObject() |
Class<?> |
getObjectType() |
boolean |
isSingleton() |
public Map getObject() throws Exception
getObject in interface org.springframework.beans.factory.FactoryBeanExceptionpublic Class<?> getObjectType()
getObjectType in interface org.springframework.beans.factory.FactoryBeanpublic boolean isSingleton()
isSingleton in interface org.springframework.beans.factory.FactoryBeanCopyright © 2003–2017 MuleSoft, Inc.. All rights reserved.