Class JNDIRemoteRepositoryServlet

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

    @Deprecated(forRemoval=true)
    public class JNDIRemoteRepositoryServlet
    extends RemoteRepositoryServlet
    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 makes a remote repository from JNDI available as an attribute 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.
    location
    Location of the remote repository in the JNDI directory. The default value is "org/apache/jackrabbit/rmi/remote/RemoteRepository".
    *
    All other init parameters are used as the JNDI environment when instantiating InitialContext for looking up the repository.

    This servlet can also be mapped to the URL space. See AbstractRepositoryServlet for the details.

    Since:
    1.4
    See Also:
    Serialized Form
    • Constructor Detail

      • JNDIRemoteRepositoryServlet

        public JNDIRemoteRepositoryServlet()
        Deprecated, for removal: This API element is subject to removal in a future version.