public class ConfigurationLoader
extends java.lang.Object
| Constructor and Description |
|---|
ConfigurationLoader(ConfigurationStore configurationStore,
Marshaller marshaller)
Constructor for ConfigurationLoader.
|
| Modifier and Type | Method and Description |
|---|---|
ConfigurationStore |
getConfigurationStore()
Getter for the field
configurationStore. |
Marshaller |
getMarshaller()
Getter for the field
marshaller. |
void |
loadConfigurationsFromFile(java.io.File file)
Load service configurations from file.
|
void |
loadConfigurationsFromFile(java.lang.String serviceName,
java.io.File file)
Load service configurations from file and save into store.
|
void |
setMarshaller(Marshaller marshaller)
Setter for the field
marshaller. |
@Inject public ConfigurationLoader(ConfigurationStore configurationStore, Marshaller marshaller)
Constructor for ConfigurationLoader.
configurationStore - a ConfigurationStore object.marshaller - a Marshaller object.public void loadConfigurationsFromFile(java.io.File file)
file - Service configuration file.public void loadConfigurationsFromFile(java.lang.String serviceName,
java.io.File file)
serviceName - Name of the service which class configuration is to be stored.file - Service configuration file.public ConfigurationStore getConfigurationStore()
Getter for the field configurationStore.
ConfigurationStore object.public Marshaller getMarshaller()
Getter for the field marshaller.
Marshaller object.@Inject public void setMarshaller(Marshaller marshaller)
Setter for the field marshaller.
marshaller - a Marshaller object.Copyright © 2022. All rights reserved.