|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.robokind.api.common.services.EmptyFactory<T>
public class EmptyFactory<T>
Constructor Summary | |
---|---|
EmptyFactory(Class<T> clazz,
VersionProperty serviceVersion)
|
Method Summary | |
---|---|
T |
build(T config)
Builds a new instance of a Service from the given ServiceConfig. |
Class<T> |
getConfigurationClass()
Returns the Class of ServiceConfig required to build to this type of Service. |
Class<T> |
getServiceClass()
Returns the Class of the Service connected to. |
VersionProperty |
getServiceVersion()
Returns the VersionProperty of the Service this connects to. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EmptyFactory(Class<T> clazz, VersionProperty serviceVersion)
Method Detail |
---|
public VersionProperty getServiceVersion()
ServiceFactory
getServiceVersion
in interface ServiceFactory<T,T>
public T build(T config)
ServiceFactory
build
in interface ServiceFactory<T,T>
config
- Configuration parameters used to build to the IO.
public Class<T> getServiceClass()
ServiceFactory
getServiceClass
in interface ServiceFactory<T,T>
public Class<T> getConfigurationClass()
ServiceFactory
getConfigurationClass
in interface ServiceFactory<T,T>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |