public class JNDIRemoteRepositoryServlet extends RemoteRepositoryServlet
The supported initialization parameters of this servlet are:
javax.jcr.Repository
".
org/apache/jackrabbit/rmi/remote/RemoteRepository
".
InitialContext
for looking up the repository.
This servlet can also be mapped to the URL space. See
AbstractRepositoryServlet
for the details.
Constructor and Description |
---|
JNDIRemoteRepositoryServlet() |
Modifier and Type | Method and Description |
---|---|
protected Repository |
getRepository()
Returns the remote repository in the configured JNDI location.
|
getLocalAdapterFactory
destroy, doGet, getAttributeName, getInitParameter, init
doDelete, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, service
protected Repository getRepository() throws RepositoryException
getRepository
in class AbstractRepositoryServlet
RepositoryException
- if the repository could not be accessedCopyright © 2004–2021 The Apache Software Foundation. All rights reserved.