|
||||||||||
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
Field Summary | |
---|---|
static String |
PROP_SERVICE_CLASS
Property String for the Class of the Service connected to. |
static String |
PROP_SERVICE_VERSION
Property String for the Service VersionProperty. |
Method Summary | |
---|---|
ServiceClass |
build(ServiceConfig config)
Builds a new instance of a Service from the given ServiceConfig. |
Class<ServiceClass> |
getServiceClass()
Returns the Class of the Service connected to. |
Class<ServiceConfig> |
getServiceConfigurationClass()
Returns the Class of ServiceConfig required to build to this type of Service. |
VersionProperty |
getServiceVersion()
Returns the VersionProperty of the Service this connects to. |
Field Detail |
---|
static final String PROP_SERVICE_VERSION
static final String PROP_SERVICE_CLASS
Method Detail |
---|
VersionProperty getServiceVersion()
ServiceClass build(ServiceConfig config)
config
- Configuration parameters used to build to the IO.
Class<ServiceClass> getServiceClass()
Class<ServiceConfig> getServiceConfigurationClass()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |