public interface RemoteRepository
extends java.rmi.Remote
Repository interface.
Used by the
ServerRepository
and
ClientRepository
adapters to provide transparent RMI access to remote repositories.
The methods in this interface are documented only with a reference
to a corresponding Repository method. The remote object will simply
forward the method call to the underlying Repository instance.
Session objects are returned as remote references
to the RemoteSession interface. Simple return
values and possible exceptions are copied over the network to the client.
RMI errors are signaled with RemoteExceptions.
javax.jcr.Repository,
ClientRepository,
ServerRepository| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getDescriptor(java.lang.String key)
Remote version of the
Repository.getDescriptor(String)
method. |
java.lang.String[] |
getDescriptorKeys()
Remote version of the
Repository.getDescriptorKeys()
method. |
Value |
getDescriptorValue(java.lang.String key)
Remote version of the
Repository.getDescriptorValue(String)
method. |
Value[] |
getDescriptorValues(java.lang.String key)
Remote version of the
Repository.getDescriptorValues(String)
method. |
boolean |
isSingleValueDescriptor(java.lang.String key)
Remote version of the
Repository.isSingleValueDescriptor(String)
method. |
boolean |
isStandardDescriptor(java.lang.String key)
Remote version of the
Repository.isStandardDescriptor(String)
method. |
RemoteSession |
login()
Remote version of the
Repository.login(} method. |
RemoteSession |
login(Credentials credentials)
Remote version of the
Repository.login(Credentials}
method. |
RemoteSession |
login(Credentials credentials,
java.lang.String workspace)
Remote version of the
Repository.login(Credentials,String}
method. |
RemoteSession |
login(java.lang.String workspace)
Remote version of the
Repository.login(String}
method. |
java.lang.String getDescriptor(java.lang.String key)
throws java.rmi.RemoteException
Repository.getDescriptor(String)
method.key - descriptor keyjava.rmi.RemoteException - on RMI errorsjava.lang.String[] getDescriptorKeys()
throws java.rmi.RemoteException
Repository.getDescriptorKeys()
method.java.rmi.RemoteException - on RMI errorsRemoteSession login() throws RepositoryException, java.rmi.RemoteException
Repository.login(} method.RepositoryException - on repository errorsjava.rmi.RemoteException - on RMI errorsRemoteSession login(java.lang.String workspace) throws RepositoryException, java.rmi.RemoteException
Repository.login(String}
method.workspace - workspace nameRepositoryException - on repository errorsjava.rmi.RemoteException - on RMI errorsRemoteSession login(Credentials credentials) throws RepositoryException, java.rmi.RemoteException
Repository.login(Credentials}
method.credentials - client credentialsRepositoryException - on repository errorsjava.rmi.RemoteException - on RMI errorsRemoteSession login(Credentials credentials, java.lang.String workspace) throws RepositoryException, java.rmi.RemoteException
Repository.login(Credentials,String}
method.credentials - client credentialsworkspace - workspace nameRepositoryException - on repository errorsjava.rmi.RemoteException - on RMI errorsValue getDescriptorValue(java.lang.String key)
throws java.rmi.RemoteException
Repository.getDescriptorValue(String)
method.RepositoryException - on repository errorsjava.rmi.RemoteException - on RMI errorsValue[] getDescriptorValues(java.lang.String key)
throws java.rmi.RemoteException
Repository.getDescriptorValues(String)
method.java.rmi.RemoteException - on RMI errorsboolean isSingleValueDescriptor(java.lang.String key)
throws java.rmi.RemoteException
Repository.isSingleValueDescriptor(String)
method.java.rmi.RemoteException - on RMI errorsboolean isStandardDescriptor(java.lang.String key)
throws java.rmi.RemoteException
Repository.isStandardDescriptor(String)
method.java.rmi.RemoteException - on RMI errors"Copyright © 2010 - 2018 Adobe Systems Incorporated. All Rights Reserved"