Record Class ThingNamespaceRepository

java.lang.Object
java.lang.Record
dev.enola.thing.namespace.ThingNamespaceRepository
Record Components:
thingProvider - the provider of things used to retrieve namespace information
All Implemented Interfaces:
NamespaceRepository, Provider<String,Namespace>, ProviderFromIRI<Namespace>, Repository<Namespace>

public record ThingNamespaceRepository(ThingProvider thingProvider) extends Record implements NamespaceRepository
NamespaceRepository based on reading ACTIVE_NAMESPACES_IRI from a ThingProvider.

This is (much!) slower than the NamespaceRepositoryEnolaDefaults.INSTANCE, and should only ever be used indirectly through CachingNamespaceRepository.