Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.core.repository
Interface RepositoryFactory

All Known Implementing Classes:
PoolingRepositoryFactory, SQLRepositoryFactory

public interface RepositoryFactory

Repository Factory.

Creates a repository and optionally an JNDI bindable object to bind the repository to a JNDI name.

The repository factory to use is usually specified in the MBean configuration file.

Author:
Bogdan Stefanescu

Method Summary
 Repository createRepository(RepositoryDescriptor descriptor)
          Creates a repository implementation given a repository descriptor object.
 

Method Detail

createRepository

Repository createRepository(RepositoryDescriptor descriptor)
                            throws Exception
Creates a repository implementation given a repository descriptor object.

Parameters:
descriptor - the repository descriptor
Returns:
the repository instance
Throws:
Exception - if an error occurs

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.