SetFactoryBean, ListFactoryBean
| Modifier and Type | Field and Description |
|---|---|
| private Map | |
| private Class |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected Map | createInstance()
Implements abstract org. Template method that subclasses must override to construct the object returned by this factory. |
| public Class | getObjectType()
Implements abstract org. Implements org. This abstract method declaration mirrors the method in the FactoryBean interface, for a consistent offering of abstract template methods. |
| public void | |
| public void | setTargetMapClass(Class<? extends Map<K, V>> targetMapClass)
Set the class to use for the target Map. |
| sourceMap | back to summary |
|---|---|
| private Map<?, ?> sourceMap
| |
| targetMapClass | back to summary |
|---|---|
private Class<? extends Map<K, V>> targetMapClass
| |
| MapFactoryBean | back to summary |
|---|---|
| public MapFactoryBean() | |
| createInstance | back to summary |
|---|---|
| protected Map Implements abstract org. Doc from org. Template method that subclasses must override to construct the object returned by this factory. Invoked on initialization of this FactoryBean in case of
a singleton; else, on each
| |
| getObjectType | back to summary |
|---|---|
| public Class Implements abstract org. Implements org. Doc from org. This abstract method declaration mirrors the method in the FactoryBean interface, for a consistent offering of abstract template methods.
| |
| setSourceMap | back to summary |
|---|---|
| public void setSourceMap(Map<?, ?> sourceMap) Set the source Map, typically populated via XML "map" elements. | |
| setTargetMapClass | back to summary |
|---|---|
| public void setTargetMapClass(Class<? extends Map<K, V>> targetMapClass) Set the class to use for the target Map. Can be populated with a fully qualified class name when defined in a Spring application context. Default is a linked HashMap, keeping the registration order.
| |