|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.smartics.properties.spi.config.support.BootLoader
@NotThreadSafe public final class BootLoader
Loads boot properties that influence the loading of properties.
Constructor Summary | |
---|---|
BootLoader(ConfigurationPropertiesManagement configuration, ClassLoader classLoader) Convenience constructor to initialize class path root URLs. |
Method Summary | |
---|---|
ConfigurationPropertiesManagement |
load() Loads the configuration properties instance from information found on the class path. |
ConfigurationPropertiesManagement |
loadAndValidate() Loads the configuration properties instance from information found on the class path. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BootLoader(ConfigurationPropertiesManagement configuration, ClassLoader classLoader) throws de.smartics.util.lang.NullArgumentException
configuration
- the configuration to add properties to.
classLoader
- the class loader whose class roots are added.
de.smartics.util.lang.NullArgumentException
- if
configuration
or
rootUrls
is
null
.
Method Detail |
---|
public ConfigurationPropertiesManagement load() throws CompoundConfigurationException
CompoundConfigurationException
- if loading encountered problems.
public ConfigurationPropertiesManagement loadAndValidate() throws ConfigurationValidationException
ConfigurationValidationException
- if the validation of the configuration failed.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |