Skip to content

Commit

Permalink
[mapdb] Fix missing service pid (#16567)
Browse files Browse the repository at this point in the history
Signed-off-by: Jan N. Klug <github@klug.nrw>
  • Loading branch information
J-N-K committed Mar 27, 2024
1 parent 1f65f92 commit a4ee09a
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 a4ee09a

Please sign in to comment.