|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.jackrabbit.rmi.repository.AbstractRemoteRepositoryFactory
public abstract class AbstractRemoteRepositoryFactory
Abstract base class for repository factories that make a remote repository
available locally. Subclasses need to implement the
getRemoteRepository()
method to actually retrieve the remote
repository reference.
Constructor Summary | |
---|---|
protected |
AbstractRemoteRepositoryFactory(LocalAdapterFactory factory)
Creates a factory for looking up a repository from the given RMI URL. |
Method Summary | |
---|---|
protected abstract RemoteRepository |
getRemoteRepository()
Returns the remote repository reference. |
Repository |
getRepository()
Returns a local adapter for the remote repository. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected AbstractRemoteRepositoryFactory(LocalAdapterFactory factory)
factory
- local adapter factoryurl
- RMI URL of the repositoryMethod Detail |
---|
public Repository getRepository() throws RepositoryException
RepositoryException
- if the remote repository is not availableprotected abstract RemoteRepository getRemoteRepository() throws RepositoryException
RepositoryException
- if the remote repository is not available
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |