public interface Loader
| Modifier and Type | Method and Description |
|---|---|
Class<? extends BasePropertyGroup> |
getClassConfig()
A group of Properties used to globally configure all instance of a type
of loader.
|
SamplePrinter |
getConfigSamplePrinter()
Returns a ConfigSamplePrinter, which can be used to print a configuration
sample for this Loader.
|
List<Property> |
getInstanceConfig()
A list of properties that the user has specified as being configuration
properties for this Loader.
|
String |
getLoaderDialect()
The type dialect of the loader.
|
String |
getLoaderType()
The type of the loader, such as JNDI, PropertyFile, SystemProperty,
etc..
|
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 |
isUnrecognizedPropertyNamesConsideredAProblem()
If true, an unrecognized name is considered a problem that will stop
application startup.
|
LoaderValues |
load(ConstructionDefinition runtimeDef,
ValueMapWithContext existingValues)
Builds up a list of LoaderValues by loading property values from a configuration
source.
|
LoaderValues load(ConstructionDefinition runtimeDef, ValueMapWithContext existingValues)
runtimeDef - existingValues - Class<? extends BasePropertyGroup> getClassConfig()
List<Property> getInstanceConfig()
String getSpecificLoadDescription()
boolean isTrimmingRequiredForStringValues()
boolean isUnrecognizedPropertyNamesConsideredAProblem()
SamplePrinter getConfigSamplePrinter()
String getLoaderType()
String getLoaderDialect()
Copyright © 2017. All rights reserved.