public interface Loader
| Modifier and Type | Method and Description |
|---|---|
Class<?> |
getClassConfig()
Returns a PropertyGroup used to globally configure a class 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.
|
LoaderValues |
load(StaticPropertyConfigurationInternal runtimeDef,
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.
|
LoaderValues load(StaticPropertyConfigurationInternal runtimeDef, ValidatedValuesWithContext existingValues)
runtimeDef - existingValues - Class<?> getClassConfig()
List<Property> getInstanceConfig()
String getSpecificLoadDescription()
boolean isTrimmingRequiredForStringValues()
SamplePrinter getConfigSamplePrinter()
String getLoaderType()
String getLoaderDialect()
void releaseResources()
Copyright © 2017. All rights reserved.