Nuxeo Enterprise Platform 5.4

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 java.lang.Exception
Creates a repository implementation given a repository descriptor object.

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.