org.apache.jackrabbit.rmi.repository
Class RMIRemoteRepositoryFactory
java.lang.Object
org.apache.jackrabbit.rmi.repository.AbstractRemoteRepositoryFactory
org.apache.jackrabbit.rmi.repository.RMIRemoteRepositoryFactory
public class RMIRemoteRepositoryFactory
- extends AbstractRemoteRepositoryFactory
Factory that looks up a remote repository from an RMI registry.
- Since:
- 1.4
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RMIRemoteRepositoryFactory
public RMIRemoteRepositoryFactory(LocalAdapterFactory factory,
String url)
- Creates a factory for looking up a remote repository from
an RMI registry.
- Parameters:
factory
- local adapter factoryurl
- RMI URL of the repository
getRemoteRepository
protected RemoteRepository getRemoteRepository()
throws RepositoryException
- Looks up a remote repository from the RMI registry.
- 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.