org.openrdf.repository.config
Class RepositoryRegistry

java.lang.Object
  extended by info.aduna.lang.service.ServiceRegistry<String,RepositoryFactory>
      extended by org.openrdf.repository.config.RepositoryRegistry

public class RepositoryRegistry
extends ServiceRegistry<String,RepositoryFactory>

A registry that keeps track of the available RepositoryFactorys.

Author:
Arjohn Kampman

Field Summary
 
Fields inherited from class info.aduna.lang.service.ServiceRegistry
logger, services
 
Constructor Summary
RepositoryRegistry()
           
 
Method Summary
static RepositoryRegistry getInstance()
          Gets the default QueryParserRegistry.
protected  String getKey(RepositoryFactory factory)
           
 
Methods inherited from class info.aduna.lang.service.ServiceRegistry
add, get, getAll, getKeys, has, remove
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RepositoryRegistry

public RepositoryRegistry()
Method Detail

getInstance

public static RepositoryRegistry getInstance()
Gets the default QueryParserRegistry.

Returns:
The default registry.

getKey

protected String getKey(RepositoryFactory factory)
Specified by:
getKey in class ServiceRegistry<String,RepositoryFactory>


Copyright © 2001-2009 Aduna. All Rights Reserved.