Class RMIRemoteRepository

  • All Implemented Interfaces:
    Repository

    @Deprecated(forRemoval=true)
    public class RMIRemoteRepository
    extends ProxyRepository
    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.

    Proxy for a remote repository bound in RMI. The configured repository is looked up from RMI lazily during each method call. Thus the RMI entry does not need to exist when this class is instantiated. The RMI entry can also be replaced with another repository during the lifetime of an instance of this class.

    Since:
    1.4
    • Constructor Detail

      • RMIRemoteRepository

        public RMIRemoteRepository​(LocalAdapterFactory factory,
                                   String url)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Creates a proxy for the remote repository in the given RMI URL.
        Parameters:
        factory - local adapter factory
        url - RMI URL of the remote repository
      • RMIRemoteRepository

        public RMIRemoteRepository​(String url)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Creates a proxy for the remote repository in the given RMI URL. Uses ClientAdapterFactory as the default local adapter factory.
        Parameters:
        url - URL of the remote repository