Class RemoteRepositoryServlet
- java.lang.Object
-
- javax.servlet.GenericServlet
-
- javax.servlet.http.HttpServlet
-
- org.apache.jackrabbit.servlet.AbstractRepositoryServlet
-
- org.apache.jackrabbit.servlet.remote.RemoteRepositoryServlet
-
- All Implemented Interfaces:
Serializable,javax.servlet.Servlet,javax.servlet.ServletConfig
- Direct Known Subclasses:
JNDIRemoteRepositoryServlet,RMIRemoteRepositoryServlet,URLRemoteRepositoryServlet
@Deprecated public abstract class RemoteRepositoryServlet extends AbstractRepositoryServlet
Deprecated.RMI support is deprecated and will be removed in a future version of Jackrabbit; see Jira ticket JCR-4972 for more information.Abstract base class for servlets that make a remote repository available locally in the servlet context.The supported initialization parameters of this servlet are:
- javax.jcr.Repository
-
Name of the servlet context attribute to put the repository in.
The default value is "
javax.jcr.Repository". - org.apache.jackrabbit.rmi.client.LocalAdapterFactory
- Name of the local adapter factory class used to create the local adapter for the remote repository. The configured class should have public constructor that takes no arguments.
This servlet can also be mapped to the URL space. See
AbstractRepositoryServletfor the details.- Since:
- 1.4
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RemoteRepositoryServlet()Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected LocalAdapterFactorygetLocalAdapterFactory()Deprecated.Instantiates and returns the configured local adapter factory.-
Methods inherited from class org.apache.jackrabbit.servlet.AbstractRepositoryServlet
destroy, doGet, getAttributeName, getInitParameter, getRepository, init
-
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, service
-
-
-
-
Method Detail
-
getLocalAdapterFactory
protected LocalAdapterFactory getLocalAdapterFactory() throws RepositoryException
Deprecated.Instantiates and returns the configured local adapter factory.- Returns:
- local adapter factory
- Throws:
RepositoryException- if the factory could not be instantiated
-
-