public class JndiRepositoryFactory extends java.lang.Object implements RepositoryFactory
Repository
instances from JNDI directories based on the following parameters:
org.apache.jackrabbit.repository.jndi.name
org.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 java.lang.String |
JNDI_NAME
The JNDI name parameter name.
|
Constructor and Description |
---|
JndiRepositoryFactory() |
Modifier and Type | Method and Description |
---|---|
Repository |
getRepository(java.util.Map parameters) |
public static final java.lang.String JNDI_NAME
public Repository getRepository(java.util.Map parameters) throws RepositoryException
getRepository
in interface RepositoryFactory
RepositoryException
Copyright © 2010 - 2020 Adobe. All Rights Reserved