Remove immediate = true from all Components (#8615)
We recommend not to use this on add-ons. Signed-off-by: Hilbrand Bouwkamp <hilbrand@h72.nl>
This commit is contained in:
committed by
GitHub
parent
f06068a189
commit
003c3af985
@@ -44,7 +44,7 @@ import org.slf4j.LoggerFactory;
|
||||
* @author Michael Ochel - Initial contribution
|
||||
* @author Matthias Siegele - Initial contribution
|
||||
*/
|
||||
@Component(service = DiscoveryService.class, immediate = true, configurationPid = "discovery.digitalstrom")
|
||||
@Component(service = DiscoveryService.class, configurationPid = "discovery.digitalstrom")
|
||||
public class BridgeDiscoveryService extends AbstractDiscoveryService {
|
||||
|
||||
private final Logger logger = LoggerFactory.getLogger(BridgeDiscoveryService.class);
|
||||
|
||||
@@ -42,7 +42,7 @@ import org.slf4j.LoggerFactory;
|
||||
* @author Matthias Siegele - Initial contribution
|
||||
*
|
||||
*/
|
||||
@Component(service = MDNSDiscoveryParticipant.class, immediate = true)
|
||||
@Component(service = MDNSDiscoveryParticipant.class)
|
||||
public class BridgeMDNSDiscoveryParticipant implements MDNSDiscoveryParticipant {
|
||||
|
||||
private final Logger logger = LoggerFactory.getLogger(BridgeMDNSDiscoveryParticipant.class);
|
||||
|
||||
@@ -53,7 +53,7 @@ import org.osgi.service.component.annotations.Reference;
|
||||
* @author Matthias Siegele - Initial contribution
|
||||
*
|
||||
*/
|
||||
@Component(service = ChannelTypeProvider.class, immediate = true)
|
||||
@Component(service = ChannelTypeProvider.class)
|
||||
public class DsChannelTypeProvider extends BaseDsI18n implements ChannelTypeProvider {
|
||||
|
||||
// channelID building (effect group type + (nothing || SEPERATOR + item type || SEPERATOR + extended item type) e.g.
|
||||
|
||||
@@ -51,7 +51,7 @@ import org.slf4j.LoggerFactory;
|
||||
* @author Michael Ochel - initial contributer
|
||||
* @author Matthias Siegele - initial contributer
|
||||
*/
|
||||
@Component(service = ThingTypeProvider.class, immediate = true)
|
||||
@Component(service = ThingTypeProvider.class)
|
||||
public class DsDeviceThingTypeProvider extends BaseDsI18n implements ThingTypeProvider {
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user