public class JNDIRepositoryServlet extends AbstractRepositoryServlet
The supported initialization parameters of this servlet are:
javax.jcr.Repository
".
javax/jcr/Repository
".
InitialContext
for looking up the repository.
This servlet can also be mapped to the URL space. See
AbstractRepositoryServlet
for the details.
Constructor and Description |
---|
JNDIRepositoryServlet() |
Modifier and Type | Method and Description |
---|---|
protected Repository |
getRepository()
Returns a JNDI repository based on the configured init parameters.
|
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 createdCopyright © 2004–2024 The Apache Software Foundation. All rights reserved.