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