Class URLRemoteRepositoryFactory
- java.lang.Object
-
- org.apache.jackrabbit.rmi.repository.AbstractRemoteRepositoryFactory
-
- org.apache.jackrabbit.rmi.repository.URLRemoteRepositoryFactory
-
@Deprecated public class URLRemoteRepositoryFactory extends AbstractRemoteRepositoryFactory
Deprecated.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 a given URL.
- Since:
- 1.4
-
-
Constructor Summary
Constructors Constructor Description URLRemoteRepositoryFactory(LocalAdapterFactory factory, URL url)Deprecated.Creates a factory for looking up a remote repository from a URL.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected RemoteRepositorygetRemoteRepository()Deprecated.Looks up and returns a remote repository from the configured URL.-
Methods inherited from class org.apache.jackrabbit.rmi.repository.AbstractRemoteRepositoryFactory
getRepository
-
-
-
-
Constructor Detail
-
URLRemoteRepositoryFactory
public URLRemoteRepositoryFactory(LocalAdapterFactory factory, URL url)
Deprecated.Creates a factory for looking up a remote repository from a URL.- Parameters:
factory- local adapter factoryurl- URL or the remote repository
-
-
Method Detail
-
getRemoteRepository
protected RemoteRepository getRemoteRepository() throws RepositoryException
Deprecated.Looks up and returns a remote repository from the configured URL.- Specified by:
getRemoteRepositoryin classAbstractRemoteRepositoryFactory- Returns:
- remote repository reference
- Throws:
RepositoryException- if the remote repository is not available
-
-