|
||||||||||
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 signaled with RemoteExceptions.
Repository
,
ClientRepository
,
ServerRepository
Method Summary | |
---|---|
String |
getDescriptor(String key)
Remote version of the Repository.getDescriptor(String)
method. |
String[] |
getDescriptorKeys()
Remote version of the Repository.getDescriptorKeys()
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,
String workspace)
Remote version of the Repository.login(Credentials,String }
method. |
RemoteSession |
login(String workspace)
Remote version of the Repository.login(String }
method. |
Method Detail |
---|
String getDescriptor(String key) throws RemoteException
Repository.getDescriptor(String)
method.
key
- descriptor key
RemoteException
- on RMI errorsString[] getDescriptorKeys() throws RemoteException
Repository.getDescriptorKeys()
method.
RemoteException
- on RMI errorsRemoteSession login() throws RepositoryException, RemoteException
Repository.login(
} method.
RepositoryException
- on repository errors
RemoteException
- on RMI errorsRemoteSession login(String workspace) throws RepositoryException, RemoteException
Repository.login(String
}
method.
workspace
- workspace name
RepositoryException
- on repository errors
RemoteException
- on RMI errorsRemoteSession login(Credentials credentials) throws RepositoryException, RemoteException
Repository.login(Credentials
}
method.
credentials
- client credentials
RepositoryException
- on repository errors
RemoteException
- on RMI errorsRemoteSession login(Credentials credentials, String workspace) throws RepositoryException, RemoteException
Repository.login(Credentials,String
}
method.
credentials
- client credentialsworkspace
- workspace name
RepositoryException
- on repository errors
RemoteException
- on RMI errors
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |