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
@@ -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";
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user