Class JCRServer

  • All Implemented Interfaces:
    JCRServerMBean

    @Deprecated(forRemoval=true)
    public class JCRServer
    extends Object
    implements JCRServerMBean
    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.

    MBean that registers a JCR RMI server through JNDI.

    • Constructor Summary

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

      • JCRServer

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

      • start

        public void start()
                   throws Exception
        Deprecated, for removal: This API element is subject to removal in a future version.
        Specified by:
        start in interface JCRServerMBean
        Throws:
        Exception
      • stop

        public void stop()
                  throws Exception
        Deprecated, for removal: This API element is subject to removal in a future version.
        Specified by:
        stop in interface JCRServerMBean
        Throws:
        Exception
      • createWorkspace

        public void createWorkspace​(String username,
                                    String password,
                                    String name)
                             throws RepositoryException
        Deprecated, for removal: This API element is subject to removal in a future version.
        Description copied from interface: JCRServerMBean
        Creates a workspace in the managed repository.
        Specified by:
        createWorkspace in interface JCRServerMBean
        Parameters:
        username - administrator username
        password - administrator password
        name - name of the workspace to create
        Throws:
        RepositoryException - if the workspace could not be created
      • getLocalAddress

        public String getLocalAddress()
        Deprecated, for removal: This API element is subject to removal in a future version.
        Specified by:
        getLocalAddress in interface JCRServerMBean
      • setLocalAddress

        public void setLocalAddress​(String localAddress)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Specified by:
        setLocalAddress in interface JCRServerMBean
      • getRemoteAddress

        public String getRemoteAddress()
        Deprecated, for removal: This API element is subject to removal in a future version.
        Specified by:
        getRemoteAddress in interface JCRServerMBean
      • setRemoteAddress

        public void setRemoteAddress​(String remoteAddress)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Specified by:
        setRemoteAddress in interface JCRServerMBean
      • getLocalEnvironment

        public String getLocalEnvironment()
        Deprecated, for removal: This API element is subject to removal in a future version.
        Specified by:
        getLocalEnvironment in interface JCRServerMBean
      • setLocalEnvironment

        public void setLocalEnvironment​(String localEnvironment)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Specified by:
        setLocalEnvironment in interface JCRServerMBean
      • getRemoteEnvironment

        public String getRemoteEnvironment()
        Deprecated, for removal: This API element is subject to removal in a future version.
        Specified by:
        getRemoteEnvironment in interface JCRServerMBean
      • setRemoteEnvironment

        public void setRemoteEnvironment​(String remoteEnvironment)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Specified by:
        setRemoteEnvironment in interface JCRServerMBean