org.apache.jackrabbit.rmi.repository
Class RMIRemoteRepositoryFactory

java.lang.Object
  extended by org.apache.jackrabbit.rmi.repository.AbstractRemoteRepositoryFactory
      extended by 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

Constructor Summary
RMIRemoteRepositoryFactory(LocalAdapterFactory factory, String url)
          Creates a factory for looking up a remote repository from an RMI registry.
 
Method Summary
protected  RemoteRepository getRemoteRepository()
          Looks up a remote repository from the RMI registry.
 
Methods inherited from class org.apache.jackrabbit.rmi.repository.AbstractRemoteRepositoryFactory
getRepository
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RMIRemoteRepositoryFactory

public RMIRemoteRepositoryFactory(LocalAdapterFactory factory,
                                  String url)
Creates a factory for looking up a remote repository from an RMI registry.

Parameters:
factory - local adapter factory
url - RMI URL of the repository
Method Detail

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 © 2011-2013 Adobe Systems Incorporated. All Rights Reserved.