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

@@ -32,7 +32,7 @@ import org.osgi.service.component.annotations.Reference;
*
* @author Joe Inkenbrandt - Initial contribution
*/
@Component(service = ThingHandlerFactory.class, immediate = true, configurationPid = "binding.etherrain")
@Component(service = ThingHandlerFactory.class, configurationPid = "binding.etherrain")
@NonNullByDefault
public class EtherRainHandlerFactory extends BaseThingHandlerFactory {

View File

@@ -34,7 +34,7 @@ import org.slf4j.LoggerFactory;
* @author Joe Inkenbrandt - Initial contribution
*/
@NonNullByDefault
@Component(service = DiscoveryService.class, immediate = true, configurationPid = "discovery.etherrain")
@Component(service = DiscoveryService.class, configurationPid = "discovery.etherrain")
public class EtherrainDiscoveryService extends AbstractDiscoveryService {
private final Logger logger = LoggerFactory.getLogger(EtherrainDiscoveryService.class);