public interface RemoteRepository extends 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.
Repository
,
ClientRepository
,
ServerRepository
Modifier and Type | Method and Description |
---|---|
String |
getDescriptor(String key)
Remote version of the
Repository.getDescriptor(String)
method. |
String[] |
getDescriptorKeys()
Remote version of the
Repository.getDescriptorKeys()
method. |
javax.jcr.Value |
getDescriptorValue(String key)
Remote version of the
Repository.getDescriptorValue(String)
method. |
javax.jcr.Value[] |
getDescriptorValues(String key)
Remote version of the
Repository.getDescriptorValues(String)
method. |
boolean |
isSingleValueDescriptor(String key)
Remote version of the
Repository.isSingleValueDescriptor(String)
method. |
boolean |
isStandardDescriptor(String key)
Remote version of the
Repository.isStandardDescriptor(String)
method. |
RemoteSession |
login()
Remote version of the
Repository.login( } method. |
RemoteSession |
login(javax.jcr.Credentials credentials)
Remote version of the
Repository.login(Credentials }
method. |
RemoteSession |
login(javax.jcr.Credentials credentials,
String workspace)
Remote version of the
Repository.login(Credentials,String }
method. |
RemoteSession |
login(String workspace)
Remote version of the
Repository.login(String }
method. |
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 javax.jcr.RepositoryException, RemoteException
Repository.login(
} method.javax.jcr.RepositoryException
- on repository errorsRemoteException
- on RMI errorsRemoteSession login(String workspace) throws javax.jcr.RepositoryException, RemoteException
Repository.login(String
}
method.workspace
- workspace namejavax.jcr.RepositoryException
- on repository errorsRemoteException
- on RMI errorsRemoteSession login(javax.jcr.Credentials credentials) throws javax.jcr.RepositoryException, RemoteException
Repository.login(Credentials
}
method.credentials
- client credentialsjavax.jcr.RepositoryException
- on repository errorsRemoteException
- on RMI errorsRemoteSession login(javax.jcr.Credentials credentials, String workspace) throws javax.jcr.RepositoryException, RemoteException
Repository.login(Credentials,String
}
method.credentials
- client credentialsworkspace
- workspace namejavax.jcr.RepositoryException
- on repository errorsRemoteException
- on RMI errorsjavax.jcr.Value getDescriptorValue(String key) throws RemoteException
Repository.getDescriptorValue(String)
method.RemoteException
- on RMI errorsjavax.jcr.Value[] 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-2020 The Apache Software Foundation. All Rights Reserved.