Package org.eclipse.rdf4j.sail.config
Class SailRegistry
- java.lang.Object
-
- org.eclipse.rdf4j.common.lang.service.ServiceRegistry<String,SailFactory>
-
- org.eclipse.rdf4j.sail.config.SailRegistry
-
public class SailRegistry extends ServiceRegistry<String,SailFactory>
A registry that keeps track of the availableSailFactorys.- Author:
- Arjohn Kampman
-
-
Field Summary
-
Fields inherited from class org.eclipse.rdf4j.common.lang.service.ServiceRegistry
logger, services
-
-
Constructor Summary
Constructors Constructor Description SailRegistry()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SailRegistrygetInstance()Gets the default SailRegistry.protected StringgetKey(SailFactory factory)Gets the key for the specified service.
-
-
-
Method Detail
-
getInstance
public static SailRegistry getInstance()
Gets the default SailRegistry.- Returns:
- The default registry.
-
getKey
protected String getKey(SailFactory factory)
Description copied from class:ServiceRegistryGets the key for the specified service.- Specified by:
getKeyin classServiceRegistry<String,SailFactory>- Parameters:
factory- The service to get the key for.- Returns:
- The key for the specified service.
-
-