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 |
|---|---|
String |
getDescriptor(String name)
Remote version of the
Repository.getDescriptor(String)
method. |
String[] |
getDescriptorKeys()
Remote version of the
Repository.getDescriptorKeys()
method. |
Value |
getDescriptorValue(String key)
Remote version of the
Repository.getDescriptorValue(String)
method. |
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(Credentials credentials)
Remote version of the
Repository.login(String}
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. |
clone, exportObject, exportObject, exportObject, unexportObjectgetClientHost, getLog, setLogpublic ServerRepository(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 RepositoryException, RemoteException
Repository.login(} method.login in interface RemoteRepositoryRepositoryException - on repository errorsRemoteException - on RMI errorspublic RemoteSession login(String workspace) throws RepositoryException, RemoteException
Repository.login(String}
method.login in interface RemoteRepositoryworkspace - workspace nameRepositoryException - on repository errorsRemoteException - on RMI errorspublic RemoteSession login(Credentials credentials) throws RepositoryException, RemoteException
Repository.login(String}
method.login in interface RemoteRepositorycredentials - workspace nameRepositoryException - on repository errorsRemoteException - on RMI errorspublic RemoteSession login(Credentials credentials, String workspace) throws RepositoryException, RemoteException
Repository.login(Credentials,String}
method.login in interface RemoteRepositorycredentials - client credentialsworkspace - workspace nameRepositoryException - on repository errorsRemoteException - on RMI errorspublic Value getDescriptorValue(String key) throws RemoteException
Repository.getDescriptorValue(String)
method.getDescriptorValue in interface RemoteRepositoryRemoteException - on RMI errorspublic 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 errors"Copyright © 2010 - 2017 Adobe Systems Incorporated. All Rights Reserved"