public class RepositoryFactoryImpl extends Object implements RepositoryFactory
RepositoryFactory implementations is capable of creating any
repository which is covered by the Apache Jackrabbit project. It does so by
delegating back to secondary RepositoryFactory implementations. The
parameters passed to the getRepository(Map) method determine which
secondare RepositoryFactory this factory delegates to.| Modifier and Type | Field and Description |
|---|---|
static String |
PARAM_REPOSITORY_CONFIG
When this key parameter is present, this factory delegates to
Jcr2spiRepositoryFactory |
static String |
PARAM_REPOSITORY_SERVICE_FACTORY
When this key parameter is present, this factory delegates to
Jcr2spiRepositoryFactory |
| Constructor and Description |
|---|
RepositoryFactoryImpl() |
public static final String PARAM_REPOSITORY_SERVICE_FACTORY
Jcr2spiRepositoryFactorypublic static final String PARAM_REPOSITORY_CONFIG
Jcr2spiRepositoryFactorypublic Repository getRepository(Map parameters) throws RepositoryException
parameters.
If either PARAM_REPOSITORY_SERVICE_FACTORY or
PARAM_REPOSITORY_CONFIG is present, this factory delegates
to Jcr2spiRepositoryFactory.
Otherwise it delegates to
RepositoryFactoryImpl.getRepository in interface RepositoryFactoryRepositoryExceptionRepositoryFactory.getRepository(java.util.Map)Copyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.