public class MapPropertySource<T> extends PropertySource<T> implements Cloneable
DEFAULT_NULL_VALID, DEFAULT_PRIORITY, HIGHEST_PRIORITY, LOWEST_PRIORITY, NULL_INVALID, NULL_VALID, PRIORITY_1, PRIORITY_2, PRIORITY_3, PRIORITY_4, PRIORITY_5, PRIORITY_6, PRIORITY_7| Constructor and Description |
|---|
MapPropertySource(MapPropertySource<T> source) |
MapPropertySource(String name,
Object key,
Map<?,?> map) |
MapPropertySource(String name,
Object key,
Map<?,?> map,
boolean nullValid) |
MapPropertySource(String name,
Object key,
Map<?,?> map,
int priority) |
MapPropertySource(String name,
Object key,
Map<?,?> map,
int priority,
boolean nullValid) |
MapPropertySource(String name,
Object key,
Map<?,?> map,
int priority,
boolean nullValid,
PropertyConverter converter) |
MapPropertySource(String name,
Object key,
Map<?,?> map,
int priority,
PropertyConverter converter) |
MapPropertySource(String name,
Object key,
Map<?,?> map,
PropertyConverter converter) |
| Modifier and Type | Method and Description |
|---|---|
Object |
clone() |
Object |
getKey() |
Map<?,?> |
getMap() |
void |
initialize()
Used for initializing the value of sources.
|
addListener, addVetoableListener, getConverter, getName, getPrintable, getPriority, getTrimStrings, getUserDataMap, getValue, isNullValid, isSet, removeListener, removeVetoableListener, setObjectValue, setPrintable, setPriority, setTrimStrings, setUserDataMap, setValue, toStringpublic MapPropertySource(MapPropertySource<T> source)
public MapPropertySource(String name, Object key, Map<?,?> map, boolean nullValid)
public MapPropertySource(String name, Object key, Map<?,?> map, PropertyConverter converter)
public MapPropertySource(String name, Object key, Map<?,?> map, int priority, boolean nullValid)
public MapPropertySource(String name, Object key, Map<?,?> map, int priority, PropertyConverter converter)
public MapPropertySource(String name, Object key, Map<?,?> map, int priority, boolean nullValid, PropertyConverter converter)
public Object getKey()
public Map<?,?> getMap()
public void initialize()
throws PropertyVetoException,
PropertyConversionException
PropertySourceinitialize in class PropertySource<T>PropertyVetoException - on errorPropertyConversionException - on errorpublic Object clone() throws CloneNotSupportedException
clone in class PropertySource<T>CloneNotSupportedExceptionCopyright 2004-2021 Solace Corporation. All rights reserved.