|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface RemoteRepository
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 signalled with RemoteExceptions.
Repository,
ClientRepository,
ServerRepository| Method Summary | |
|---|---|
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. |
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,
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. |
| Method Detail |
|---|
java.lang.String getDescriptor(java.lang.String key)
throws java.rmi.RemoteException
Repository.getDescriptor(String) method.
key - descriptor key
java.rmi.RemoteException - on RMI errors
java.lang.String[] getDescriptorKeys()
throws java.rmi.RemoteException
Repository.getDescriptorKeys() method.
java.rmi.RemoteException - on RMI errors
RemoteSession login()
throws javax.jcr.RepositoryException,
java.rmi.RemoteException
Repository.login( method.
javax.jcr.RepositoryException - on repository errors
java.rmi.RemoteException - on RMI errors
RemoteSession login(java.lang.String workspace)
throws javax.jcr.RepositoryException,
java.rmi.RemoteException
Repository.login(String
method.
workspace - workspace name
javax.jcr.RepositoryException - on repository errors
java.rmi.RemoteException - on RMI errors
RemoteSession login(javax.jcr.Credentials credentials)
throws javax.jcr.RepositoryException,
java.rmi.RemoteException
Repository.login(Credentials method.
credentials - client credentials
javax.jcr.RepositoryException - on repository errors
java.rmi.RemoteException - on RMI errors
RemoteSession login(javax.jcr.Credentials credentials,
java.lang.String workspace)
throws javax.jcr.RepositoryException,
java.rmi.RemoteException
Repository.login(Credentials,String method.
credentials - client credentialsworkspace - workspace name
javax.jcr.RepositoryException - on repository errors
java.rmi.RemoteException - on RMI errors
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||