Class URLRemoteRepository

  • All Implemented Interfaces:
    Repository

    @Deprecated(forRemoval=true)
    public class URLRemoteRepository
    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 accessed via a URL. The configured URL is dereferenced lazily during each method call. Thus the resource pointed to by the URL does not need to exist when this class is instantiated. The resource can also be replaced with another remote repository instance during the lifetime of an instance of this class.

    Since:
    1.4
    • Constructor Detail

      • URLRemoteRepository

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

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

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