public class RMIRemoteRepositoryFactory extends AbstractRemoteRepositoryFactory
Constructor and Description |
---|
RMIRemoteRepositoryFactory(LocalAdapterFactory factory,
String url)
Creates a factory for looking up a remote repository from
an RMI registry.
|
Modifier and Type | Method and Description |
---|---|
protected RemoteRepository |
getRemoteRepository()
Looks up a remote repository from the RMI registry.
|
getRepository
public RMIRemoteRepositoryFactory(LocalAdapterFactory factory, String url)
factory
- local adapter factoryurl
- RMI URL of the 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.