public class ServerRepository extends ServerObject implements RemoteRepository
Repository
interface. This class makes a local repository available as an RMI service
using the
RemoteRepository
interface.Repository,
RemoteRepository,
Serialized Formref| Constructor and Description |
|---|
ServerRepository(javax.jcr.Repository repository,
RemoteAdapterFactory factory)
Creates a remote adapter for the given local repository.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getDescriptor(String name)
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. |
getFactory, getRemoteItem, getRemoteNode, getRemoteNodeTypeArray, getRepositoryException, getSerialValue, getSerialValuesclone, exportObject, exportObject, exportObject, unexportObjectgetClientHost, getLog, setLogpublic ServerRepository(javax.jcr.Repository repository,
RemoteAdapterFactory factory)
throws RemoteException
repository - local repositoryfactory - remote adapter factoryRemoteException - on RMI errorspublic String getDescriptor(String name) throws RemoteException
Repository.getDescriptor(String)
method.getDescriptor in interface RemoteRepositoryname - descriptor keyRemoteException - on RMI errorspublic String[] getDescriptorKeys() throws RemoteException
Repository.getDescriptorKeys()
method.getDescriptorKeys in interface RemoteRepositoryRemoteException - on RMI errorspublic RemoteSession login() throws javax.jcr.RepositoryException, RemoteException
Repository.login(} method.login in interface RemoteRepositoryjavax.jcr.RepositoryException - on repository errorsRemoteException - on RMI errorspublic RemoteSession login(String workspace) throws javax.jcr.RepositoryException, RemoteException
Repository.login(String}
method.login in interface RemoteRepositoryworkspace - workspace namejavax.jcr.RepositoryException - on repository errorsRemoteException - on RMI errorspublic RemoteSession login(javax.jcr.Credentials credentials) throws javax.jcr.RepositoryException, RemoteException
Repository.login(Credentials}
method.login in interface RemoteRepositorycredentials - client credentialsjavax.jcr.RepositoryException - on repository errorsRemoteException - on RMI errorspublic RemoteSession login(javax.jcr.Credentials credentials, String workspace) throws javax.jcr.RepositoryException, RemoteException
Repository.login(Credentials,String}
method.login in interface RemoteRepositorycredentials - client credentialsworkspace - workspace namejavax.jcr.RepositoryException - on repository errorsRemoteException - on RMI errorspublic javax.jcr.Value getDescriptorValue(String key) throws RemoteException
Repository.getDescriptorValue(String)
method.getDescriptorValue in interface RemoteRepositoryRemoteException - on RMI errorspublic javax.jcr.Value[] getDescriptorValues(String key) throws RemoteException
Repository.getDescriptorValues(String)
method.getDescriptorValues in interface RemoteRepositoryRemoteException - on RMI errorspublic boolean isSingleValueDescriptor(String key) throws RemoteException
Repository.isSingleValueDescriptor(String)
method.isSingleValueDescriptor in interface RemoteRepositoryRemoteException - on RMI errorspublic boolean isStandardDescriptor(String key) throws RemoteException
Repository.isStandardDescriptor(String)
method.isStandardDescriptor in interface RemoteRepositoryRemoteException - on RMI errorsCopyright © 2004-2020 The Apache Software Foundation. All Rights Reserved.