public class JndiRepositoryFactory extends Object
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 String |
JNDI_NAME
The JNDI name parameter name.
|
Constructor and Description |
---|
JndiRepositoryFactory() |
public static final String JNDI_NAME
public Repository getRepository(Map parameters) throws RepositoryException
RepositoryException
"Copyright © 2006 - 2015 Adobe Systems Incorporated. All Rights Reserved"