mirror of
https://github.com/openhab/openhab-addons.git
synced 2025-01-25 14:55:55 +01:00
[mapdb] Fix missing service pid (#16567)
Signed-off-by: Jan N. Klug <github@klug.nrw>
This commit is contained in:
parent
1f65f9296f
commit
a4ee09a519
@ -43,6 +43,7 @@ import org.openhab.core.persistence.QueryablePersistenceService;
|
|||||||
import org.openhab.core.persistence.strategy.PersistenceStrategy;
|
import org.openhab.core.persistence.strategy.PersistenceStrategy;
|
||||||
import org.openhab.core.types.State;
|
import org.openhab.core.types.State;
|
||||||
import org.openhab.core.types.UnDefType;
|
import org.openhab.core.types.UnDefType;
|
||||||
|
import org.osgi.framework.Constants;
|
||||||
import org.osgi.service.component.annotations.Activate;
|
import org.osgi.service.component.annotations.Activate;
|
||||||
import org.osgi.service.component.annotations.Component;
|
import org.osgi.service.component.annotations.Component;
|
||||||
import org.osgi.service.component.annotations.Deactivate;
|
import org.osgi.service.component.annotations.Deactivate;
|
||||||
@ -60,7 +61,8 @@ import com.google.gson.GsonBuilder;
|
|||||||
* @author Martin Kühl - Port to 3.x
|
* @author Martin Kühl - Port to 3.x
|
||||||
*/
|
*/
|
||||||
@NonNullByDefault
|
@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 {
|
public class MapDbPersistenceService implements QueryablePersistenceService {
|
||||||
|
|
||||||
private static final String SERVICE_ID = "mapdb";
|
private static final String SERVICE_ID = "mapdb";
|
||||||
|
Loading…
Reference in New Issue
Block a user