public class JndiRepositoryFactory extends Object implements javax.jcr.RepositoryFactory
Repository
instances from JNDI directories based on the following parameters:
org.apache.jackrabbit.repository.jndi.nameorg.apache.jackrabbit.repository.uri
All the other repository parameters are passed as the environment of the
initial JNDI context.
Clients should normally only use this class through the Java Service
Provider mechanism. See the getRepository utility methods in
JcrUtils for an easy way to do that.
| Modifier and Type | Field and Description |
|---|---|
static String |
JNDI_NAME
The JNDI name parameter name.
|
| Constructor and Description |
|---|
JndiRepositoryFactory() |
public static final String JNDI_NAME
public javax.jcr.Repository getRepository(Map parameters) throws javax.jcr.RepositoryException
getRepository in interface javax.jcr.RepositoryFactoryjavax.jcr.RepositoryExceptionCopyright © 2004-2020 The Apache Software Foundation. All Rights Reserved.