Class URLRemoteBindingServlet

  • All Implemented Interfaces:
    Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

    @Deprecated(forRemoval=true)
    public class URLRemoteBindingServlet
    extends RemoteBindingServlet
    Deprecated, for removal: This API element is subject to removal in a future version.
    RMI support is deprecated and will be removed in a future version of Jackrabbit; see Jira ticket JCR-4972 for more information.
    Servlet that writes the remote reference of a repository in the servlet context to the configured URL.

    The initialization parameters of this servlet are:

    javax.jcr.Repository
    Name of the servlet context attribute that contains the repository. The default value is "javax.jcr.Repository".
    org.apache.jackrabbit.rmi.server.RemoteAdapterFactory
    Name of the remote adapter factory class used to create the remote repository reference. The configured class should have public constructor that takes no arguments.
    url
    URL where to store the remote repository reference.
    Since:
    1.4
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      URLRemoteBindingServlet()
      Deprecated, for removal: This API element is subject to removal in a future version.
       
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      void init()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Writes the remote reference of a repository in the servlet context to the configured URL.
      • Methods inherited from class javax.servlet.http.HttpServlet

        doDelete, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, service
      • Methods inherited from class javax.servlet.GenericServlet

        destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
    • Constructor Detail

      • URLRemoteBindingServlet

        public URLRemoteBindingServlet()
        Deprecated, for removal: This API element is subject to removal in a future version.
    • Method Detail

      • init

        public void init()
                  throws javax.servlet.ServletException
        Deprecated, for removal: This API element is subject to removal in a future version.
        Writes the remote reference of a repository in the servlet context to the configured URL.
        Overrides:
        init in class javax.servlet.GenericServlet
        Throws:
        javax.servlet.ServletException - if the URL could not be written to