Class RMIRemoteBindingServlet
- java.lang.Object
-
- javax.servlet.GenericServlet
-
- javax.servlet.http.HttpServlet
-
- org.apache.jackrabbit.servlet.remote.RemoteBindingServlet
-
- org.apache.jackrabbit.servlet.remote.RMIRemoteBindingServlet
-
- All Implemented Interfaces:
Serializable
,javax.servlet.Servlet
,javax.servlet.ServletConfig
@Deprecated(forRemoval=true) public class RMIRemoteBindingServlet 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 binds a repository from a servlet context attribute in RMI.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
-
RMI URL where to bind the repository in. The default value is
"
//localhost/javax/jcr/Repository
".
- Since:
- 1.4
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RMIRemoteBindingServlet()
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
destroy()
Deprecated, for removal: This API element is subject to removal in a future version.Unbinds the repository from RMI.void
init()
Deprecated, for removal: This API element is subject to removal in a future version.Binds a repository from the servlet context in the configured RMI URL.-
Methods inherited from class org.apache.jackrabbit.servlet.remote.RemoteBindingServlet
doGet, getRemoteRepository
-
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, service
-
-
-
-
Method Detail
-
init
public void init() throws javax.servlet.ServletException
Deprecated, for removal: This API element is subject to removal in a future version.Binds a repository from the servlet context in the configured RMI URL.- Overrides:
init
in classjavax.servlet.GenericServlet
- Throws:
javax.servlet.ServletException
- if the repository could not be bound in RMI
-
destroy
public void destroy()
Deprecated, for removal: This API element is subject to removal in a future version.Unbinds the repository from RMI.- Specified by:
destroy
in interfacejavax.servlet.Servlet
- Overrides:
destroy
in classjavax.servlet.GenericServlet
-
-