Class AbstractRemoteRepositoryFactory
- java.lang.Object
-
- org.apache.jackrabbit.rmi.repository.AbstractRemoteRepositoryFactory
-
- Direct Known Subclasses:
JNDIRemoteRepositoryFactory
,RMIRemoteRepositoryFactory
,URLRemoteRepositoryFactory
@Deprecated(forRemoval=true) public abstract class AbstractRemoteRepositoryFactory extends Object
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.Abstract base class for repository factories that make a remote repository available locally. Subclasses need to implement the
getRemoteRepository()
method to actually retrieve the remote repository reference.- Since:
- 1.4
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractRemoteRepositoryFactory(LocalAdapterFactory factory)
Deprecated, for removal: This API element is subject to removal in a future version.Creates a factory for looking up a repository from the given RMI URL.
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected abstract RemoteRepository
getRemoteRepository()
Deprecated, for removal: This API element is subject to removal in a future version.Returns the remote repository reference.Repository
getRepository()
Deprecated, for removal: This API element is subject to removal in a future version.Returns a local adapter for the remote repository.
-
-
-
Constructor Detail
-
AbstractRemoteRepositoryFactory
protected AbstractRemoteRepositoryFactory(LocalAdapterFactory factory)
Deprecated, for removal: This API element is subject to removal in a future version.Creates a factory for looking up a repository from the given RMI URL.- Parameters:
factory
- local adapter factory
-
-
Method Detail
-
getRepository
public Repository getRepository() throws RepositoryException
Deprecated, for removal: This API element is subject to removal in a future version.Returns a local adapter for the remote repository.- Returns:
- local adapter for the remote repository
- Throws:
RepositoryException
- if the remote repository is not available
-
getRemoteRepository
protected abstract RemoteRepository getRemoteRepository() throws RepositoryException
Deprecated, for removal: This API element is subject to removal in a future version.Returns the remote repository reference.- Returns:
- remote repository reference
- Throws:
RepositoryException
- if the remote repository is not available
-
-