Factory that looks up a remote repository from a given URL.
@Deprecated public class URLRemoteRepositoryFactory extends AbstractRemoteRepositoryFactory
| Constructor and Description |
|---|
URLRemoteRepositoryFactory(LocalAdapterFactory factory,
URL url)
Deprecated.
Creates a factory for looking up a remote repository from a URL.
|
| Modifier and Type | Method and Description |
|---|---|
protected RemoteRepository |
getRemoteRepository()
Deprecated.
Looks up and returns a remote repository from the configured URL.
|
getRepositorypublic URLRemoteRepositoryFactory(LocalAdapterFactory factory, URL url)
factory - local adapter factoryurl - URL or the remote repositoryprotected RemoteRepository getRemoteRepository() throws RepositoryException
getRemoteRepository in class AbstractRemoteRepositoryFactoryRepositoryException - if the remote repository is not availableCopyright © 2004–2024 The Apache Software Foundation. All rights reserved.