Class SafeClientRepository

  • All Implemented Interfaces:
    Repository

    @Deprecated(forRemoval=true)
    public abstract class SafeClientRepository
    extends ClientObject
    implements Repository
    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.

    A "safe" local adapter for the JCR-RMI RemoteRepository interface. This class uses an abstract factory method for loading (and reloading) the remote repository instance that is made locally available through the JCR Repository interface. If the remote reference breaks (a RemoteException is thrown by a remote call), then this adapter attempts to reload the remote reference once before failing.

    See Also:
    Repository, RemoteRepository
    • Constructor Detail

      • SafeClientRepository

        public SafeClientRepository​(LocalAdapterFactory factory)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Creates a client adapter for the given remote repository.
        Parameters:
        factory - local adapter factory