Remote version of the JCR 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.
@Deprecated public interface RemoteRepository extends Remote
Repository
,
ClientRepository
,
ServerRepository
String getDescriptor(String key) throws RemoteException
Repository.getDescriptor(String)
method.key
- descriptor keyRemoteException
- on RMI errorsString[] getDescriptorKeys() throws RemoteException
Repository.getDescriptorKeys()
method.RemoteException
- on RMI errorsRemoteSession login() throws RepositoryException, RemoteException
Repository.login(
} method.RepositoryException
- on repository errorsRemoteException
- on RMI errorsRemoteSession login(String workspace) throws RepositoryException, RemoteException
Repository.login(String
}
method.workspace
- workspace nameRepositoryException
- on repository errorsRemoteException
- on RMI errorsRemoteSession login(Credentials credentials) throws RepositoryException, RemoteException
Repository.login(Credentials
}
method.credentials
- client credentialsRepositoryException
- on repository errorsRemoteException
- on RMI errorsRemoteSession login(Credentials credentials, String workspace) throws RepositoryException, RemoteException
Repository.login(Credentials,String
}
method.credentials
- client credentialsworkspace
- workspace nameRepositoryException
- on repository errorsRemoteException
- on RMI errorsValue getDescriptorValue(String key) throws RemoteException
Repository.getDescriptorValue(String)
method.RemoteException
- on RMI errorsValue[] getDescriptorValues(String key) throws RemoteException
Repository.getDescriptorValues(String)
method.RemoteException
- on RMI errorsboolean isSingleValueDescriptor(String key) throws RemoteException
Repository.isSingleValueDescriptor(String)
method.RemoteException
- on RMI errorsboolean isStandardDescriptor(String key) throws RemoteException
Repository.isStandardDescriptor(String)
method.RemoteException
- on RMI errorsCopyright © 2004–2024 The Apache Software Foundation. All rights reserved.