Class AbstractRemoteRepositoryFactory
- java.lang.Object
-
- org.apache.jackrabbit.rmi.repository.AbstractRemoteRepositoryFactory
-
- Direct Known Subclasses:
JNDIRemoteRepositoryFactory,RMIRemoteRepositoryFactory,URLRemoteRepositoryFactory
@Deprecated public abstract class AbstractRemoteRepositoryFactory extends Object
Deprecated.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 protectedAbstractRemoteRepositoryFactory(LocalAdapterFactory factory)Deprecated.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 RemoteRepositorygetRemoteRepository()Deprecated.Returns the remote repository reference.RepositorygetRepository()Deprecated.Returns a local adapter for the remote repository.
-
-
-
Constructor Detail
-
AbstractRemoteRepositoryFactory
protected AbstractRemoteRepositoryFactory(LocalAdapterFactory factory)
Deprecated.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.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.Returns the remote repository reference.- Returns:
- remote repository reference
- Throws:
RepositoryException- if the remote repository is not available
-
-