|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
ServiceConfig - Service Configuration Class returned by this loaderParam - Parameter Class passed in to this loaderpublic interface ServiceConfigurationLoader<ServiceConfig,Param>
An ServiceConfigurationLoader loads a ServiceConfig with a specific version. The ServiceConfig is used to connect to some Service such as: Servos, Microphone, Text-to-Speech, Face Tracking, etc...
| Field Summary | |
|---|---|
static String |
PROP_CONFIG_FORMAT_VERSION
Property String for the Configuration Format VersionProperty |
static String |
PROP_PARAMETER_CLASS
Property String for the Parameter Class used by the ServiceConfigurationLoader. |
static String |
PROP_SERVICE_CONFIG_CLASS
Property String for the Class of the ServiceConfig being loaded. |
| Method Summary | |
|---|---|
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. |
| Field Detail |
|---|
static final String PROP_CONFIG_FORMAT_VERSION
static final String PROP_SERVICE_CONFIG_CLASS
static final String PROP_PARAMETER_CLASS
| Method Detail |
|---|
VersionProperty getConfigurationFormat()
ServiceConfig loadConfiguration(Param param)
throws Exception
param - parameters needed to load the ServiceConfig
Exception - if there is an error loading the configurationClass<ServiceConfig> getConfigurationClass()
Class<Param> getParameterClass()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||