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, servicepublic void init()
throws javax.servlet.ServletException
init in class javax.servlet.GenericServletjavax.servlet.ServletException - if the repository could not be bound in JNDIpublic void destroy()
destroy in interface javax.servlet.Servletdestroy in class javax.servlet.GenericServletCopyright © 2004–2024 The Apache Software Foundation. All rights reserved.