org.nuxeo.ecm.core.storage.sql.coremodel
Class SQLRepositoryFactory
java.lang.Object
org.nuxeo.ecm.core.storage.sql.coremodel.SQLRepositoryFactory
- All Implemented Interfaces:
- RepositoryFactory
public class SQLRepositoryFactory
- extends Object
- implements RepositoryFactory
SQL repository factory.
This class is mentioned in the repository extension point defining a given
repository. It is constructed by RepositoryManager#getOrRegisterRepository,
itself called by the *ManagedConnectionFactory#createRepository of the RA.
- Author:
- Florent Guillaume
SQLRepositoryFactory
public SQLRepositoryFactory()
createRepository
public Repository createRepository(RepositoryDescriptor descriptor)
throws Exception
- Description copied from interface:
RepositoryFactory
- Creates a repository implementation given a repository descriptor object.
- Specified by:
createRepository
in interface RepositoryFactory
- Parameters:
descriptor
- the repository descriptor
- Returns:
- the repository instance
- Throws:
Exception
- if an error occurs
Copyright © 2011 Nuxeo SAS. All Rights Reserved.