Class ContextAwareFactory
java.lang.Object
org.eclipse.rdf4j.repository.contextaware.config.ContextAwareFactory
- All Implemented Interfaces:
 RepositoryFactory
A 
RepositoryFactory that creates ContextAwareRepositorys based on RDF configuration data.- Author:
 - James Leigh
 
- 
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe type of repositories that are created by this factory. - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptiongetRepository(RepositoryImplConfig configuration) Returns a Repository instance that has been initialized using the supplied configuration data.Returns the repository's type: openrdf:ContextAwareRepository. 
- 
Field Details
- 
REPOSITORY_TYPE
The type of repositories that are created by this factory.- See Also:
 
 
 - 
 - 
Constructor Details
- 
ContextAwareFactory
public ContextAwareFactory() 
 - 
 - 
Method Details
- 
getRepositoryType
Returns the repository's type: openrdf:ContextAwareRepository.- Specified by:
 getRepositoryTypein interfaceRepositoryFactory
 - 
getConfig
- Specified by:
 getConfigin interfaceRepositoryFactory
 - 
getRepository
public Repository getRepository(RepositoryImplConfig configuration) throws RepositoryConfigException Description copied from interface:RepositoryFactoryReturns a Repository instance that has been initialized using the supplied configuration data.- Specified by:
 getRepositoryin interfaceRepositoryFactory- Parameters:
 configuration- TODO- Returns:
 - The created (but un-initialized) repository.
 - Throws:
 RepositoryConfigException- If no repository could be created due to invalid or incomplete configuration data.
 
 -