Interface PersistenceServiceConfigurationRegistry
- All Superinterfaces:
Registry<PersistenceServiceConfiguration,String>
@NonNullByDefault
public interface PersistenceServiceConfigurationRegistry
extends Registry<PersistenceServiceConfiguration,String>
The
PersistenceServiceConfigurationRegistry is the central place to store persistence service configurations.
Configurations are registered through PersistenceServiceConfigurationProvider.
Because the PersistenceManagerImpl implementation needs to listen to
different registries, the PersistenceServiceConfigurationRegistryChangeListener can be used to add listeners
to this registry.- Author:
- Jan N. Klug - Initial contribution
-
Method Summary
Modifier and TypeMethodDescriptionvoidReturns a list of persistence services that have configurations defined by multiple providers, e.g. a DSL provider and a managed provider.voidMethods inherited from interface org.openhab.core.common.registry.Registry
add, addRegistryChangeListener, get, getAll, remove, removeRegistryChangeListener, stream, update
-
Method Details
-
addRegistryChangeListener
-
removeRegistryChangeListener
-
getServiceConfigurationConflicts
Returns a list of persistence services that have configurations defined by multiple providers, e.g. a DSL provider and a managed provider.- Returns:
- a list of persistence identifiers of currently detected configuration conflicts, empty if no conflicts
-