public class ServerRepository extends ServerObject implements RemoteRepository
Repository
interface. This class makes a local repository available as an RMI service
using the
RemoteRepository
interface.javax.jcr.Repository,
RemoteRepository,
Serialized Form| Constructor and Description |
|---|
ServerRepository(Repository repository,
RemoteAdapterFactory factory)
Creates a remote adapter for the given local repository.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getDescriptor(java.lang.String name)
Remote version of the
Repository.getDescriptor(String)
method. |
java.lang.String[] |
getDescriptorKeys()
Remote version of the
Repository.getDescriptorKeys()
method. |
Value |
getDescriptorValue(java.lang.String key)
Remote version of the
Repository.getDescriptorValue(String)
method. |
Value[] |
getDescriptorValues(java.lang.String key)
Remote version of the
Repository.getDescriptorValues(String)
method. |
boolean |
isSingleValueDescriptor(java.lang.String key)
Remote version of the
Repository.isSingleValueDescriptor(String)
method. |
boolean |
isStandardDescriptor(java.lang.String key)
Remote version of the
Repository.isStandardDescriptor(String)
method. |
RemoteSession |
login()
Remote version of the
Repository.login(} method. |
RemoteSession |
login(Credentials credentials)
Remote version of the
Repository.login(String}
method. |
RemoteSession |
login(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. |
clone, exportObject, exportObject, exportObject, unexportObjectpublic ServerRepository(Repository repository,
RemoteAdapterFactory factory)
throws java.rmi.RemoteException
repository - local repositoryfactory - remote adapter factoryjava.rmi.RemoteException - on RMI errorspublic java.lang.String getDescriptor(java.lang.String name)
throws java.rmi.RemoteException
Repository.getDescriptor(String)
method.getDescriptor in interface RemoteRepositoryname - descriptor keyjava.rmi.RemoteException - on RMI errorspublic java.lang.String[] getDescriptorKeys()
throws java.rmi.RemoteException
Repository.getDescriptorKeys()
method.getDescriptorKeys in interface RemoteRepositoryjava.rmi.RemoteException - on RMI errorspublic RemoteSession login() throws RepositoryException, java.rmi.RemoteException
Repository.login(} method.login in interface RemoteRepositoryRepositoryException - on repository errorsjava.rmi.RemoteException - on RMI errorspublic RemoteSession login(java.lang.String workspace) throws RepositoryException, java.rmi.RemoteException
Repository.login(String}
method.login in interface RemoteRepositoryworkspace - workspace nameRepositoryException - on repository errorsjava.rmi.RemoteException - on RMI errorspublic RemoteSession login(Credentials credentials) throws RepositoryException, java.rmi.RemoteException
Repository.login(String}
method.login in interface RemoteRepositorycredentials - workspace nameRepositoryException - on repository errorsjava.rmi.RemoteException - on RMI errorspublic RemoteSession login(Credentials credentials, java.lang.String workspace) throws RepositoryException, java.rmi.RemoteException
Repository.login(Credentials,String}
method.login in interface RemoteRepositorycredentials - client credentialsworkspace - workspace nameRepositoryException - on repository errorsjava.rmi.RemoteException - on RMI errorspublic Value getDescriptorValue(java.lang.String key)
throws java.rmi.RemoteException
Repository.getDescriptorValue(String)
method.getDescriptorValue in interface RemoteRepositoryjava.rmi.RemoteException - on RMI errorspublic Value[] getDescriptorValues(java.lang.String key)
throws java.rmi.RemoteException
Repository.getDescriptorValues(String)
method.getDescriptorValues in interface RemoteRepositoryjava.rmi.RemoteException - on RMI errorspublic boolean isSingleValueDescriptor(java.lang.String key)
throws java.rmi.RemoteException
Repository.isSingleValueDescriptor(String)
method.isSingleValueDescriptor in interface RemoteRepositoryjava.rmi.RemoteException - on RMI errorspublic boolean isStandardDescriptor(java.lang.String key)
throws java.rmi.RemoteException
Repository.isStandardDescriptor(String)
method.isStandardDescriptor in interface RemoteRepositoryjava.rmi.RemoteException - on RMI errors"Copyright © 2010 - 2018 Adobe Systems Incorporated. All Rights Reserved"