public class ServiceRemoteFactoryImpl extends Object implements ServiceRemoteFactory
| Modifier and Type | Method and Description |
|---|---|
AbstractServiceRemote |
createAndInitServiceRemote(rst.domotic.service.ServiceTemplateType.ServiceTemplate.ServiceType serviceType,
Collection<rst.domotic.unit.UnitConfigType.UnitConfig> unitConfigs)
Creates and initializes a service remote out of the given service type
and a collection of unitConfigs.
|
AbstractServiceRemote |
createAndInitServiceRemote(rst.domotic.service.ServiceTemplateType.ServiceTemplate.ServiceType serviceType,
rst.domotic.unit.UnitConfigType.UnitConfig unitConfig)
Creates and initializes a service remote out of the given service type
and unitConfig.
|
AbstractServiceRemote |
createServiceRemote(rst.domotic.service.ServiceTemplateType.ServiceTemplate.ServiceType serviceType)
Creates a service remote out of the given service type.
|
static ServiceRemoteFactory |
getInstance() |
static Class<? extends AbstractServiceRemote> |
loadServiceRemoteClass(rst.domotic.service.ServiceTemplateType.ServiceTemplate.ServiceType serviceType) |
AbstractServiceRemote |
newInitializedInstance(rst.domotic.service.ServiceTemplateType.ServiceTemplate.ServiceType serviceType,
Collection<rst.domotic.unit.UnitConfigType.UnitConfig> unitConfigs)
Creates and initializes a service remote out of the given service type
and a collection of unitConfigs.
|
AbstractServiceRemote |
newInitializedInstance(rst.domotic.service.ServiceTemplateType.ServiceTemplate.ServiceType serviceType,
rst.domotic.unit.UnitConfigType.UnitConfig unitConfig)
Creates and initializes a service remote out of the given service type
and unitConfig.
|
AbstractServiceRemote |
newInstance(rst.domotic.service.ServiceTemplateType.ServiceTemplate.ServiceType serviceType) |
public static ServiceRemoteFactory getInstance()
public AbstractServiceRemote newInitializedInstance(rst.domotic.service.ServiceTemplateType.ServiceTemplate.ServiceType serviceType, Collection<rst.domotic.unit.UnitConfigType.UnitConfig> unitConfigs) throws org.openbase.jul.exception.CouldNotPerformException, InterruptedException
ServiceRemoteFactorynewInitializedInstance in interface ServiceRemoteFactoryserviceType - The remote service type.unitConfigs - The collection of units which are controlled by the new service remote instance.org.openbase.jul.exception.CouldNotPerformException - is thrown if any error occurs during the creation.InterruptedException - is thrown if the current thread is externally interrupted.public AbstractServiceRemote newInitializedInstance(rst.domotic.service.ServiceTemplateType.ServiceTemplate.ServiceType serviceType, rst.domotic.unit.UnitConfigType.UnitConfig unitConfig) throws org.openbase.jul.exception.CouldNotPerformException, InterruptedException
ServiceRemoteFactorynewInitializedInstance in interface ServiceRemoteFactoryserviceType - The remote service type.unitConfig - The unit which is controlled by the new service remote instance.org.openbase.jul.exception.CouldNotPerformException - is thrown if any error occurs during the creation.InterruptedException - is thrown if the current thread is externally interrupted.public AbstractServiceRemote newInstance(rst.domotic.service.ServiceTemplateType.ServiceTemplate.ServiceType serviceType) throws org.openbase.jul.exception.InstantiationException
newInstance in interface org.openbase.jul.pattern.Factory<AbstractServiceRemote,rst.domotic.service.ServiceTemplateType.ServiceTemplate.ServiceType>org.openbase.jul.exception.InstantiationExceptionpublic static Class<? extends AbstractServiceRemote> loadServiceRemoteClass(rst.domotic.service.ServiceTemplateType.ServiceTemplate.ServiceType serviceType) throws org.openbase.jul.exception.CouldNotPerformException
org.openbase.jul.exception.CouldNotPerformExceptionpublic AbstractServiceRemote createAndInitServiceRemote(rst.domotic.service.ServiceTemplateType.ServiceTemplate.ServiceType serviceType, Collection<rst.domotic.unit.UnitConfigType.UnitConfig> unitConfigs) throws org.openbase.jul.exception.CouldNotPerformException, InterruptedException
ServiceRemoteFactorycreateAndInitServiceRemote in interface ServiceRemoteFactoryserviceType - The remote service type.unitConfigs - The collection of units which are controlled by the new service remote instance.org.openbase.jul.exception.CouldNotPerformException - is thrown if any error occurs during the creation.InterruptedException - is thrown if the current thread is externally interrupted.public AbstractServiceRemote createAndInitServiceRemote(rst.domotic.service.ServiceTemplateType.ServiceTemplate.ServiceType serviceType, rst.domotic.unit.UnitConfigType.UnitConfig unitConfig) throws org.openbase.jul.exception.CouldNotPerformException, InterruptedException
ServiceRemoteFactorycreateAndInitServiceRemote in interface ServiceRemoteFactoryserviceType - The remote service type.unitConfig - The unit which is controlled by the new service remote instance.org.openbase.jul.exception.CouldNotPerformException - is thrown if any error occurs during the creation.InterruptedException - is thrown if the current thread is externally interrupted.public AbstractServiceRemote createServiceRemote(rst.domotic.service.ServiceTemplateType.ServiceTemplate.ServiceType serviceType) throws org.openbase.jul.exception.CouldNotPerformException
ServiceRemoteFactorycreateServiceRemote in interface ServiceRemoteFactoryserviceType - The remote service type.org.openbase.jul.exception.CouldNotPerformException - is thrown if any error occurs during the creation.Copyright © 2014–2017 openbase.org. All rights reserved.