Nuxeo Enterprise Platform 5.4

org.nuxeo.ecm.core.storage.sql.coremodel
Class SQLRepositoryFactory

java.lang.Object
  extended by org.nuxeo.ecm.core.storage.sql.coremodel.SQLRepositoryFactory
All Implemented Interfaces:
RepositoryFactory

public class SQLRepositoryFactory
extends java.lang.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

Constructor Summary
SQLRepositoryFactory()
           
 
Method Summary
 Repository createRepository(RepositoryDescriptor descriptor)
          Creates a repository implementation given a repository descriptor object.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SQLRepositoryFactory

public SQLRepositoryFactory()
Method Detail

createRepository

public Repository createRepository(RepositoryDescriptor descriptor)
                            throws java.lang.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:
java.lang.Exception - if an error occurs

Nuxeo Enterprise Platform 5.4

Copyright © 2010 Nuxeo SAS. All Rights Reserved.