parent
5710532b05
commit
0182ce567d
|
@ -64,7 +64,7 @@ import org.slf4j.LoggerFactory;
|
|||
*/
|
||||
@NonNullByDefault
|
||||
@Component(immediate = true, configurationPid = "org.openhab.audio", property = { //
|
||||
Constants.SERVICE_PID + "=org.openhab.core.audio", //
|
||||
Constants.SERVICE_PID + "=org.openhab.audio", //
|
||||
ConfigurableService.SERVICE_PROPERTY_CATEGORY + "=system", //
|
||||
ConfigurableService.SERVICE_PROPERTY_DESCRIPTION_URI + "=" + AudioManagerImpl.CONFIG_URI, //
|
||||
ConfigurableService.SERVICE_PROPERTY_LABEL + "=Audio" //
|
||||
|
|
|
@ -87,7 +87,7 @@ import org.slf4j.LoggerFactory;
|
|||
* @author Henning Sudbrock - added hook for selectively auto-approving inbox entries
|
||||
*/
|
||||
@Component(immediate = true, configurationPid = "org.openhab.inbox", service = EventSubscriber.class, property = {
|
||||
Constants.SERVICE_PID + "=org.openhab.core.inbox", ConfigurableService.SERVICE_PROPERTY_CATEGORY + "=system",
|
||||
Constants.SERVICE_PID + "=org.openhab.inbox", ConfigurableService.SERVICE_PROPERTY_CATEGORY + "=system",
|
||||
ConfigurableService.SERVICE_PROPERTY_LABEL + "=Inbox",
|
||||
ConfigurableService.SERVICE_PROPERTY_DESCRIPTION_URI + "=system:inbox" })
|
||||
@NonNullByDefault
|
||||
|
|
|
@ -35,7 +35,7 @@ import org.osgi.service.component.annotations.ReferencePolicy;
|
|||
* @author Markus Rathgeb - Use HTTP service utility functions
|
||||
*/
|
||||
@Component(immediate = true, configurationPid = "org.openhab.mdns", property = {
|
||||
Constants.SERVICE_PID + "=org.openhab.core.mdns" //
|
||||
Constants.SERVICE_PID + "=org.openhab.mdns" //
|
||||
})
|
||||
public class MDNSAnnouncer {
|
||||
|
||||
|
|
|
@ -24,7 +24,7 @@ import org.osgi.service.component.annotations.Component;
|
|||
* @author David Graeff - Initial contribution
|
||||
*/
|
||||
@Component(immediate = true, service = MqttBrokerConnectionServiceInstanceMarker.class, property = {
|
||||
Constants.SERVICE_PID + "=org.openhab.core.mqttbroker",
|
||||
Constants.SERVICE_PID + "=org.openhab.mqttbroker",
|
||||
ConfigurableService.SERVICE_PROPERTY_FACTORY_SERVICE + "=true",
|
||||
ConfigurableService.SERVICE_PROPERTY_LABEL + "=MQTT system broker connection",
|
||||
ConfigurableService.SERVICE_PROPERTY_CATEGORY + "=MQTT",
|
||||
|
|
|
@ -41,7 +41,7 @@ import org.slf4j.LoggerFactory;
|
|||
* @author Markus Rathgeb - Synchronize access to broker connections
|
||||
*/
|
||||
@Component(immediate = true, service = MqttService.class, configurationPid = "org.openhab.mqtt", property = {
|
||||
Constants.SERVICE_PID + "=org.openhab.core.mqtt" })
|
||||
Constants.SERVICE_PID + "=org.openhab.mqtt" })
|
||||
@NonNullByDefault
|
||||
public class MqttServiceImpl implements MqttService {
|
||||
private final Logger logger = LoggerFactory.getLogger(MqttServiceImpl.class);
|
||||
|
|
|
@ -45,8 +45,7 @@ import com.google.inject.Injector;
|
|||
* @author Simon Kaufmann - Initial contribution
|
||||
*/
|
||||
@Component(immediate = true, service = ModelServer.class, configurationPid = ModelServer.CONFIGURATION_PID, property = {
|
||||
Constants.SERVICE_PID + "=org.openhab.core.lsp",
|
||||
ConfigurableService.SERVICE_PROPERTY_DESCRIPTION_URI + "=misc:lsp",
|
||||
Constants.SERVICE_PID + "=org.openhab.lsp", ConfigurableService.SERVICE_PROPERTY_DESCRIPTION_URI + "=misc:lsp",
|
||||
ConfigurableService.SERVICE_PROPERTY_LABEL + "=Language Server (LSP)",
|
||||
ConfigurableService.SERVICE_PROPERTY_CATEGORY + "=misc" })
|
||||
public class ModelServer {
|
||||
|
|
|
@ -43,7 +43,7 @@ import org.slf4j.LoggerFactory;
|
|||
* @author Kai Kreuzer - Initial contribution
|
||||
*/
|
||||
@Component(immediate = true, service = HumanLanguageInterpreter.class, configurationPid = "org.openhab.rulehli", property = {
|
||||
Constants.SERVICE_PID + "=org.openhab.core.rulehli", ConfigurableService.SERVICE_PROPERTY_CATEGORY + "=voice",
|
||||
Constants.SERVICE_PID + "=org.openhab.rulehli", ConfigurableService.SERVICE_PROPERTY_CATEGORY + "=voice",
|
||||
ConfigurableService.SERVICE_PROPERTY_LABEL + "=Rule Voice Interpreter",
|
||||
ConfigurableService.SERVICE_PROPERTY_DESCRIPTION_URI + "=" + RuleHumanLanguageInterpreter.CONFIG_URI })
|
||||
public class RuleHumanLanguageInterpreter implements HumanLanguageInterpreter {
|
||||
|
|
|
@ -42,8 +42,7 @@ import org.osgi.service.component.annotations.ReferencePolicy;
|
|||
* @author Kai Kreuzer - Initial contribution
|
||||
*/
|
||||
@Component(immediate = true, configurationPid = "org.openhab.persistence", property = {
|
||||
Constants.SERVICE_PID + "=org.openhab.core.persistence",
|
||||
ConfigurableService.SERVICE_PROPERTY_CATEGORY + "=system",
|
||||
Constants.SERVICE_PID + "=org.openhab.persistence", ConfigurableService.SERVICE_PROPERTY_CATEGORY + "=system",
|
||||
ConfigurableService.SERVICE_PROPERTY_LABEL + "=Persistence",
|
||||
ConfigurableService.SERVICE_PROPERTY_DESCRIPTION_URI + "=" + PersistenceServiceRegistryImpl.CONFIG_URI })
|
||||
@NonNullByDefault
|
||||
|
|
|
@ -39,7 +39,7 @@ import org.slf4j.LoggerFactory;
|
|||
* @author Chris Jackson - Initial contribution
|
||||
*/
|
||||
@Component(name = "org.openhab.core.storage.json", configurationPid = "org.openhab.storage.json", property = { //
|
||||
Constants.SERVICE_PID + "=org.openhab.core.storage.json", //
|
||||
Constants.SERVICE_PID + "=org.openhab.storage.json", //
|
||||
ConfigurableService.SERVICE_PROPERTY_LABEL + "=Json Storage", //
|
||||
ConfigurableService.SERVICE_PROPERTY_CATEGORY + "=system", //
|
||||
ConfigurableService.SERVICE_PROPERTY_DESCRIPTION_URI + "=system:json_storage", //
|
||||
|
|
|
@ -22,7 +22,7 @@ import org.osgi.service.component.annotations.Component;
|
|||
* @author Stefan Triller - Initial contribution
|
||||
*/
|
||||
@Component(immediate = true, service = MagicMultiActionMarker.class, property = {
|
||||
Constants.SERVICE_PID + "=org.openhab.core.MagicMultiAction",
|
||||
Constants.SERVICE_PID + "=org.openhab.MagicMultiAction",
|
||||
ConfigurableService.SERVICE_PROPERTY_FACTORY_SERVICE + "=true",
|
||||
ConfigurableService.SERVICE_PROPERTY_LABEL + "=MagicMultiActionsService",
|
||||
ConfigurableService.SERVICE_PROPERTY_CATEGORY + "=RuleActions",
|
||||
|
|
|
@ -34,7 +34,7 @@ import org.slf4j.LoggerFactory;
|
|||
* @author Stefan Triller - Initial contribution
|
||||
*/
|
||||
@Component(configurationPid = "org.openhab.magicsingleaction", property = {
|
||||
Constants.SERVICE_PID + "=org.openhab.core.automation.action.magicSingleActionService",
|
||||
Constants.SERVICE_PID + "=org.openhab.automation.action.magicSingleActionService",
|
||||
ConfigurableService.SERVICE_PROPERTY_DESCRIPTION_URI + "=automationAction:magicSingleAction",
|
||||
ConfigurableService.SERVICE_PROPERTY_LABEL + "=Magic Single Action Service",
|
||||
ConfigurableService.SERVICE_PROPERTY_CATEGORY + "=RuleActions" })
|
||||
|
|
|
@ -22,7 +22,7 @@ import org.osgi.service.component.annotations.Component;
|
|||
*/
|
||||
|
||||
@Component(immediate = true, service = MagicMultiInstanceServiceMarker.class, property = {
|
||||
Constants.SERVICE_PID + "=org.openhab.core.magicMultiInstance",
|
||||
Constants.SERVICE_PID + "=org.openhab.magicMultiInstance",
|
||||
ConfigurableService.SERVICE_PROPERTY_FACTORY_SERVICE + "=true",
|
||||
ConfigurableService.SERVICE_PROPERTY_LABEL + "=MagicMultiInstanceService",
|
||||
ConfigurableService.SERVICE_PROPERTY_CATEGORY + "=test",
|
||||
|
|
|
@ -71,7 +71,7 @@ import org.slf4j.LoggerFactory;
|
|||
* @author Wouter Born - Sort TTS options
|
||||
*/
|
||||
@Component(immediate = true, configurationPid = VoiceManagerImpl.CONFIGURATION_PID, property = { //
|
||||
Constants.SERVICE_PID + "=org.openhab.core.voice", //
|
||||
Constants.SERVICE_PID + "=org.openhab.voice", //
|
||||
ConfigurableService.SERVICE_PROPERTY_CATEGORY + "=system", //
|
||||
ConfigurableService.SERVICE_PROPERTY_LABEL + "=Voice", //
|
||||
ConfigurableService.SERVICE_PROPERTY_DESCRIPTION_URI + "=" + VoiceManagerImpl.CONFIG_URI //
|
||||
|
|
|
@ -77,7 +77,7 @@ import org.slf4j.LoggerFactory;
|
|||
* @author Erdoan Hadzhiyusein - Added time zone
|
||||
*/
|
||||
@Component(immediate = true, configurationPid = I18nProviderImpl.CONFIGURATION_PID, property = {
|
||||
Constants.SERVICE_PID + "=org.openhab.core.i18n", //
|
||||
Constants.SERVICE_PID + "=org.openhab.i18n", //
|
||||
"service.config.label=Regional Settings", //
|
||||
"service.config.category=system", //
|
||||
"service.config.description.uri=system:i18n" })
|
||||
|
|
Loading…
Reference in New Issue