public class JNDIBindingServlet
extends javax.servlet.http.HttpServlet
The initialization parameters of this servlet are:
javax.jcr.Repository
".
javax/jcr/Repository
".
InitialContext
for binding up the repository.
Constructor and Description |
---|
JNDIBindingServlet() |
Modifier and Type | Method and Description |
---|---|
void |
destroy()
Unbinds the repository from JNDI.
|
void |
init()
Binds a repository from the servlet context in the configured
JNDI location.
|
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, service
public void init() throws javax.servlet.ServletException
init
in class javax.servlet.GenericServlet
javax.servlet.ServletException
- if the repository could not be bound in JNDIpublic void destroy()
destroy
in interface javax.servlet.Servlet
destroy
in class javax.servlet.GenericServlet
Copyright © 2004–2021 The Apache Software Foundation. All rights reserved.