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:
Hilbrand Bouwkamp
2020-10-02 05:27:01 +02:00
committed by GitHub
parent f06068a189
commit 003c3af985
153 changed files with 155 additions and 157 deletions

View File

@@ -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);

View File

@@ -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);

View File

@@ -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.

View File

@@ -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 {
/**