Skip to content

Commit

Permalink
[mapdb] Fix missing service pid (openhab#16567)
Browse files Browse the repository at this point in the history
Signed-off-by: Jan N. Klug <github@klug.nrw>
Signed-off-by: Patrik Gfeller <patrik.gfeller@proton.me>
  • Loading branch information
J-N-K authored and pgfeller committed Sep 29, 2024
1 parent 1a1d386 commit ab064ef
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
import org.openhab.core.persistence.strategy.PersistenceStrategy;
import org.openhab.core.types.State;
import org.openhab.core.types.UnDefType;
import org.osgi.framework.Constants;
import org.osgi.service.component.annotations.Activate;
import org.osgi.service.component.annotations.Component;
import org.osgi.service.component.annotations.Deactivate;
Expand All @@ -60,7 +61,8 @@
* @author Martin Kühl - Port to 3.x
*/
@NonNullByDefault
@Component(service = { PersistenceService.class, QueryablePersistenceService.class })
@Component(service = { PersistenceService.class, QueryablePersistenceService.class }, property = Constants.SERVICE_PID
+ "=org.openhab.mapdb")
public class MapDbPersistenceService implements QueryablePersistenceService {

private static final String SERVICE_ID = "mapdb";
Expand Down

0 comments on commit ab064ef

Please sign in to comment.