org.apache.jackrabbit.commons.repository
Interface RepositoryFactory

All Known Implementing Classes:
AbstractRemoteRepositoryFactory, ContextRepositoryFactory, CrossContextRepositoryFactory, JNDIRemoteRepositoryFactory, JNDIRepositoryFactory, RMIRemoteRepositoryFactory, ServletRepositoryFactory, SingletonRepositoryFactory, URLRemoteRepositoryFactory

public interface RepositoryFactory

Factory interface for JCR content repositories.

Since:
1.4

Method Summary
 javax.jcr.Repository getRepository()
          Returns a content repository.
 

Method Detail

getRepository

javax.jcr.Repository getRepository()
                                   throws javax.jcr.RepositoryException
Returns a content repository.

Returns:
content repository
Throws:
javax.jcr.RepositoryException - if a repository is not available


Copyright © 2004-2011 Apache Software Foundation. All Rights Reserved.