public class MapLoader extends BaseLoader implements ReadLoader
| Modifier and Type | Field and Description |
|---|---|
protected Map<?,?> |
map |
protected boolean |
unknownPropertyAProblem |
| Constructor and Description |
|---|
MapLoader() |
| Modifier and Type | Method and Description |
|---|---|
String |
getLoaderDialect()
The type dialect of the loader.
|
String |
getLoaderType()
The type of the loader, such as JNDI, PropertyFile, SystemProperty,
etc..
|
Map<?,?> |
getMap() |
String |
getSpecificLoadDescription()
For this particular load, where was info loaded from?
This may vary from run to run based on config params.
|
boolean |
isTrimmingRequiredForStringValues()
If true, values for string properties are trimmed by the Trimmer of
the property they are associated with.
|
boolean |
isUnknownPropertyAProblem()
If true, an unrecognized name is considered a problem that will stop
application startup.
|
LoaderValues |
load(StaticPropertyConfigurationInternal appConfigDef,
ValidatedValuesWithContext existingValues)
Builds up a list of LoaderValues by loading property values from a
configuration source.
|
void |
releaseResources()
Release any resources held by this loader.
|
void |
setMap(Map<?,?> map) |
void |
setUnknownPropertyAProblem(boolean isAProblem)
If true, an unrecognized property name is considered a problem/error.
|
attemptToAdd, attemptToAdd, createValue, findDuplicateProperty, getClassConfig, getConfigSamplePrinter, getInstanceConfigclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetClassConfig, getConfigSamplePrinter, getInstanceConfigprotected Map<?,?> map
protected boolean unknownPropertyAProblem
public void setMap(Map<?,?> map)
public Map<?,?> getMap()
public LoaderValues load(StaticPropertyConfigurationInternal appConfigDef, ValidatedValuesWithContext existingValues)
Loaderpublic String getSpecificLoadDescription()
LoadergetSpecificLoadDescription in interface Loaderpublic boolean isTrimmingRequiredForStringValues()
LoaderisTrimmingRequiredForStringValues in interface Loaderpublic void setUnknownPropertyAProblem(boolean isAProblem)
ReadLoadersetUnknownPropertyAProblem in interface ReadLoaderpublic boolean isUnknownPropertyAProblem()
ReadLoaderisUnknownPropertyAProblem in interface ReadLoaderpublic String getLoaderType()
LoadergetLoaderType in interface Loaderpublic String getLoaderDialect()
LoadergetLoaderDialect in interface Loaderpublic void releaseResources()
LoaderreleaseResources in interface LoaderreleaseResources in class BaseLoaderCopyright © 2017. All rights reserved.