|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.jackrabbit.commons.AbstractRepository
org.apache.jackrabbit.commons.repository.ProxyRepository
org.apache.jackrabbit.rmi.repository.RMIRemoteRepository
public class RMIRemoteRepository
Proxy for a remote repository bound in RMI. The configured repository is looked up from RMI lazily during each method call. Thus the RMI entry does not need to exist when this class is instantiated. The RMI entry can also be replaced with another repository during the lifetime of an instance of this class.
Field Summary |
---|
Fields inherited from interface javax.jcr.Repository |
---|
LEVEL_1_SUPPORTED, LEVEL_2_SUPPORTED, OPTION_LOCKING_SUPPORTED, OPTION_OBSERVATION_SUPPORTED, OPTION_QUERY_SQL_SUPPORTED, OPTION_TRANSACTIONS_SUPPORTED, OPTION_VERSIONING_SUPPORTED, QUERY_XPATH_DOC_ORDER, QUERY_XPATH_POS_INDEX, REP_NAME_DESC, REP_VENDOR_DESC, REP_VENDOR_URL_DESC, REP_VERSION_DESC, SPEC_NAME_DESC, SPEC_VERSION_DESC |
Constructor Summary | |
---|---|
RMIRemoteRepository(LocalAdapterFactory factory,
String url)
Creates a proxy for the remote repository in the given RMI URL. |
|
RMIRemoteRepository(String url)
Creates a proxy for the remote repository in the given RMI URL. |
Method Summary |
---|
Methods inherited from class org.apache.jackrabbit.commons.repository.ProxyRepository |
---|
getDescriptor, getDescriptorKeys, login |
Methods inherited from class org.apache.jackrabbit.commons.AbstractRepository |
---|
login, login, login |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RMIRemoteRepository(LocalAdapterFactory factory, String url)
factory
- local adapter factoryurl
- RMI URL of the remote repositorypublic RMIRemoteRepository(String url)
JackrabbitClientAdapterFactory
as the default
local adapter factory.
url
- URL of the remote repository
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |