Class RMIRemoteRepositoryFactory
- java.lang.Object
-
- org.apache.jackrabbit.rmi.repository.AbstractRemoteRepositoryFactory
-
- org.apache.jackrabbit.rmi.repository.RMIRemoteRepositoryFactory
-
@Deprecated(forRemoval=true) public class RMIRemoteRepositoryFactory extends AbstractRemoteRepositoryFactory
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.Factory that looks up a remote repository from an RMI registry.
- Since:
- 1.4
-
-
Constructor Summary
Constructors Constructor Description RMIRemoteRepositoryFactory(LocalAdapterFactory factory, String url)
Deprecated, for removal: This API element is subject to removal in a future version.Creates a factory for looking up a remote repository from an RMI registry.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected RemoteRepository
getRemoteRepository()
Deprecated, for removal: This API element is subject to removal in a future version.Looks up a remote repository from the RMI registry.-
Methods inherited from class org.apache.jackrabbit.rmi.repository.AbstractRemoteRepositoryFactory
getRepository
-
-
-
-
Constructor Detail
-
RMIRemoteRepositoryFactory
public RMIRemoteRepositoryFactory(LocalAdapterFactory factory, String url)
Deprecated, for removal: This API element is subject to removal in a future version.Creates a factory for looking up a remote repository from an RMI registry.- Parameters:
factory
- local adapter factoryurl
- RMI URL of the repository
-
-
Method Detail
-
getRemoteRepository
protected RemoteRepository getRemoteRepository() throws RepositoryException
Deprecated, for removal: This API element is subject to removal in a future version.Looks up a remote repository from the RMI registry.- Specified by:
getRemoteRepository
in classAbstractRemoteRepositoryFactory
- Returns:
- remote repository reference
- Throws:
RepositoryException
- if the remote repository is not available
-
-