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
@@ -57,7 +57,7 @@ import org.slf4j.LoggerFactory;
|
||||
* @author David Graeff - Initial contribution
|
||||
*/
|
||||
@NonNullByDefault
|
||||
@Component(service = DiscoveryService.class, immediate = true, configurationPid = "discovery.milight")
|
||||
@Component(service = DiscoveryService.class, configurationPid = "discovery.milight")
|
||||
public class MilightBridgeDiscovery extends AbstractDiscoveryService implements Runnable {
|
||||
private final Logger logger = LoggerFactory.getLogger(MilightBridgeDiscovery.class);
|
||||
|
||||
|
||||
@@ -25,7 +25,7 @@ import org.slf4j.LoggerFactory;
|
||||
*
|
||||
* @author David Graeff - Initial contribution
|
||||
*/
|
||||
@Component(service = DiscoveryService.class, immediate = true, enabled = false)
|
||||
@Component(service = DiscoveryService.class, enabled = false)
|
||||
public class TestDiscovery extends AbstractDiscoveryService {
|
||||
private final Logger logger = LoggerFactory.getLogger(TestDiscovery.class);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user