ServiceConfig - Service Configuration Class returned by this loaderParam - Parameter Class passed in to this loaderpublic interface ConfigurationLoader<ServiceConfig,Param>
| Modifier and Type | Method and Description |
|---|---|
Class<ServiceConfig> |
getConfigurationClass()
Returns the Class of the ServiceConfig to be loaded.
|
VersionProperty |
getConfigurationFormat()
Specifies the Service Configuration Format version which can be loaded.
|
Class<Param> |
getParameterClass()
Returns the Class of the Parameter required to load a ServiceConfig.
|
ServiceConfig |
loadConfiguration(Param param)
Loads a ServiceConfig of the specified type from the given parameters.
|
VersionProperty getConfigurationFormat()
ServiceConfig loadConfiguration(Param param) throws Exception
param - parameters needed to load the ServiceConfigException - if there is an error loading the configurationClass<ServiceConfig> getConfigurationClass()
Copyright © 2011-2014. All Rights Reserved.