Class RepositoryRegistry
java.lang.Object
org.eclipse.rdf4j.common.lang.service.ServiceRegistry<String,RepositoryFactory>
org.eclipse.rdf4j.repository.config.RepositoryRegistry
A registry that keeps track of the available
RepositoryFactory
s.- Author:
- Arjohn Kampman
-
Field Summary
Fields inherited from class org.eclipse.rdf4j.common.lang.service.ServiceRegistry
logger, services
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic RepositoryRegistry
Gets the default RepositoryRegistry.protected String
getKey
(RepositoryFactory factory) Gets the key for the specified service.
-
Constructor Details
-
RepositoryRegistry
public RepositoryRegistry()
-
-
Method Details
-
getInstance
Gets the default RepositoryRegistry.- Returns:
- The default registry.
-
getKey
Description copied from class:ServiceRegistry
Gets the key for the specified service.- Specified by:
getKey
in classServiceRegistry<String,
RepositoryFactory> - Parameters:
factory
- The service to get the key for.- Returns:
- The key for the specified service.
-