public class URLRemoteRepositoryFactory extends AbstractRemoteRepositoryFactory
Constructor and Description |
---|
URLRemoteRepositoryFactory(LocalAdapterFactory factory,
URL url)
Creates a factory for looking up a remote repository from a URL.
|
Modifier and Type | Method and Description |
---|---|
protected RemoteRepository |
getRemoteRepository()
Looks up and returns a remote repository from the configured URL.
|
getRepository
public URLRemoteRepositoryFactory(LocalAdapterFactory factory, URL url)
factory
- local adapter factoryurl
- URL or the remote repositoryprotected RemoteRepository getRemoteRepository() throws javax.jcr.RepositoryException
getRemoteRepository
in class AbstractRemoteRepositoryFactory
javax.jcr.RepositoryException
- if the remote repository is not availableCopyright © 2004-2020 The Apache Software Foundation. All Rights Reserved.