org.apache.jackrabbit.rmi.repository
Class URLRemoteRepositoryFactory
java.lang.Object
org.apache.jackrabbit.rmi.repository.AbstractRemoteRepositoryFactory
org.apache.jackrabbit.rmi.repository.URLRemoteRepositoryFactory
public class URLRemoteRepositoryFactory
- extends AbstractRemoteRepositoryFactory
Factory that looks up a remote repository from a given URL.
- Since:
- 1.4
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
URLRemoteRepositoryFactory
public URLRemoteRepositoryFactory(LocalAdapterFactory factory,
URL url)
- Creates a factory for looking up a remote repository from a URL.
- Parameters:
factory
- local adapter factoryurl
- URL or the remote repository
getRemoteRepository
protected RemoteRepository getRemoteRepository()
throws RepositoryException
- Looks up and returns a remote repository from the configured URL.
- Specified by:
getRemoteRepository
in class AbstractRemoteRepositoryFactory
- Returns:
- remote repository reference
- Throws:
RepositoryException
- if the remote repository is not available
Copyright © 2004-2010 The Apache Software Foundation. All Rights Reserved.