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, getRemoteRepository
doDelete, 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 RMIpublic void destroy()
destroy
in interface javax.servlet.Servlet
destroy
in class javax.servlet.GenericServlet
Copyright © 2004–2021 The Apache Software Foundation. All rights reserved.