|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
ServiceConfig - Type of Configuration class this factory takesServiceClass - Type of Service this factory createspublic interface ServiceFactory<ServiceClass,ServiceConfig>
A ServiceFactory creates some service with the given Class and the given VersionProperty, using a ServiceConfig
| Method Summary | |
|---|---|
ServiceClass |
build(ServiceConfig config)
Builds a new instance of a Service from the given ServiceConfig. |
Class<ServiceConfig> |
getConfigurationClass()
Returns the Class of ServiceConfig required to build to this type of Service. |
Class<ServiceClass> |
getServiceClass()
Returns the Class of the Service connected to. |
VersionProperty |
getServiceVersion()
Returns the VersionProperty of the Service this connects to. |
| Method Detail |
|---|
VersionProperty getServiceVersion()
ServiceClass build(ServiceConfig config)
throws Exception
config - Configuration parameters used to build to the IO.
ExceptionClass<ServiceClass> getServiceClass()
Class<ServiceConfig> getConfigurationClass()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||