public class JNDIRemoteBindingServlet extends RemoteBindingServlet
The initialization parameters of this servlet are:
javax.jcr.Repository".
org/apache/jackrabbit/rmi/remote/RemoteRepository".
InitialContext for binding up the repository.
| Constructor and Description |
|---|
JNDIRemoteBindingServlet() |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy()
Unbinds the remote repository from JNDI.
|
void |
init()
Binds a repository from the servlet context in the configured RMI URL.
|
doGet, getRemoteRepositorydoDelete, 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 RMIpublic void destroy()
destroy in interface javax.servlet.Servletdestroy in class javax.servlet.GenericServletCopyright © 2004–2022 The Apache Software Foundation. All rights reserved.