public abstract class AbstractRemoteRepositoryFactory extends Object
getRemoteRepository()
method to actually retrieve the remote
repository reference.Modifier | Constructor and Description |
---|---|
protected |
AbstractRemoteRepositoryFactory(LocalAdapterFactory factory)
Creates a factory for looking up a repository from the given RMI URL.
|
Modifier and Type | Method and Description |
---|---|
protected abstract RemoteRepository |
getRemoteRepository()
Returns the remote repository reference.
|
Repository |
getRepository()
Returns a local adapter for the remote repository.
|
protected AbstractRemoteRepositoryFactory(LocalAdapterFactory factory)
factory
- local adapter factorypublic Repository getRepository() throws RepositoryException
RepositoryException
- if the remote repository is not availableprotected abstract RemoteRepository getRemoteRepository() throws RepositoryException
RepositoryException
- if the remote repository is not availableCopyright © 2004–2021 The Apache Software Foundation. All rights reserved.