Nuxeo Enterprise Platform 5.4

org.nuxeo.ecm.core.storage.sql
Class RepositoryResolver

java.lang.Object
  extended by org.nuxeo.ecm.core.storage.sql.RepositoryResolver

public class RepositoryResolver
extends java.lang.Object

Locate a repository giving it's name. Try access through NXCore first (JNDI) and then fall-back by using the repository manager.

Author:
"Stephane Lacoin [aka matic] "

Field Summary
static java.util.Map<java.lang.String,RepositoryImpl> repositories
           
 
Method Summary
static BinaryManager getBinaryManager(java.lang.String repositoryName)
           
static java.util.List<Repository> getRepositories()
           
static Repository getRepository(java.lang.String repositoryName)
           
static void registerTestRepository(RepositoryImpl repo)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

repositories

public static java.util.Map<java.lang.String,RepositoryImpl> repositories
Method Detail

registerTestRepository

public static void registerTestRepository(RepositoryImpl repo)

getRepositories

public static java.util.List<Repository> getRepositories()

getRepository

public static Repository getRepository(java.lang.String repositoryName)

getBinaryManager

public static BinaryManager getBinaryManager(java.lang.String repositoryName)

Nuxeo Enterprise Platform 5.4

Copyright © 2010 Nuxeo SAS. All Rights Reserved.