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 javax.jcr.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 javax.jcr.Repository getRepository() throws javax.jcr.RepositoryException
getRepository
in class AbstractRepositoryServlet
javax.jcr.RepositoryException
- if the repository could not be accessedCopyright © 2004-2020 The Apache Software Foundation. All Rights Reserved.