Class ManagedThingProvider

java.lang.Object
org.openhab.core.common.registry.AbstractProvider<Thing>
org.openhab.core.common.registry.AbstractManagedProvider<Thing,ThingUID,org.openhab.core.thing.internal.ThingStorageEntity>
org.openhab.core.thing.ManagedThingProvider
All Implemented Interfaces:
ManagedProvider<Thing,ThingUID>, Provider<Thing>, ThingProvider

@NonNullByDefault public class ManagedThingProvider extends AbstractManagedProvider<Thing,ThingUID,org.openhab.core.thing.internal.ThingStorageEntity> implements ThingProvider
ManagedThingProvider is an OSGi service, that allows to add or remove things at runtime by calling AbstractManagedProvider.add(E) or AbstractManagedProvider.remove(K). An added thing is automatically exposed to the ThingRegistry.
Author:
Oliver Libutzki - Initial contribution, Dennis Nobel - Integrated Storage, Michael Grammling - Added dynamic configuration update
  • Constructor Details

    • ManagedThingProvider

      public ManagedThingProvider(StorageService storageService)
  • Method Details