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

@@ -71,7 +71,7 @@ import org.slf4j.LoggerFactory;
* @author David Graeff - Initial Contribution
*/
@NonNullByDefault
@Component(immediate = true, service = HueEmulationService.class)
@Component(service = HueEmulationService.class)
public class HueEmulationService implements EventHandler {
public static final String CONFIG_PID = "org.openhab.hueemulation";

View File

@@ -35,7 +35,7 @@ import org.slf4j.LoggerFactory;
* @author David Graeff - Initial contribution
*/
@NonNullByDefault
@Component(immediate = true, service = ModuleHandlerFactory.class)
@Component(service = ModuleHandlerFactory.class)
public class HueHandlerFactory extends BaseModuleHandlerFactory {
private final Logger logger = LoggerFactory.getLogger(HueHandlerFactory.class);

View File

@@ -36,7 +36,7 @@ import org.slf4j.LoggerFactory;
* @author David Graeff - Initial contribution
*/
@NonNullByDefault
@Component(immediate = true, service = ModuleHandlerFactory.class)
@Component(service = ModuleHandlerFactory.class)
public class RulesHandlerFactory extends BaseModuleHandlerFactory {
private final Logger logger = LoggerFactory.getLogger(RulesHandlerFactory.class);

View File

@@ -35,7 +35,7 @@ import org.slf4j.LoggerFactory;
* @author David Graeff - Initial contribution
*/
@NonNullByDefault
@Component(immediate = true, service = ModuleHandlerFactory.class)
@Component(service = ModuleHandlerFactory.class)
public class TimerModuleExHandlerFactory extends BaseModuleHandlerFactory {
private final Logger logger = LoggerFactory.getLogger(TimerModuleExHandlerFactory.class);