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
@@ -39,7 +39,7 @@ import org.slf4j.LoggerFactory;
|
||||
* @author Kai Kreuzer - some refactoring for performance and simplification
|
||||
*
|
||||
*/
|
||||
@Component(service = UpnpDiscoveryParticipant.class, immediate = true)
|
||||
@Component(service = UpnpDiscoveryParticipant.class)
|
||||
public class WemoDiscoveryParticipant implements UpnpDiscoveryParticipant {
|
||||
|
||||
private Logger logger = LoggerFactory.getLogger(WemoDiscoveryParticipant.class);
|
||||
|
||||
@@ -28,7 +28,7 @@ import org.slf4j.LoggerFactory;
|
||||
* @author Hans-Jörg Merk - Initial contribution
|
||||
*
|
||||
*/
|
||||
@Component(service = DiscoveryService.class, immediate = true, configurationPid = "discovery.wemo")
|
||||
@Component(service = DiscoveryService.class, configurationPid = "discovery.wemo")
|
||||
public class WemoDiscoveryService extends AbstractDiscoveryService {
|
||||
|
||||
private Logger logger = LoggerFactory.getLogger(WemoDiscoveryService.class);
|
||||
|
||||
Reference in New Issue
Block a user