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, initdoDelete, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, serviceprotected Repository getRepository() throws RepositoryException
getRepository in class AbstractRepositoryServletRepositoryException - if the repository could not be createdCopyright © 2004–2024 The Apache Software Foundation. All rights reserved.