Remote adapter for the JCR Repository
interface. This class makes a local repository available as an RMI service
using the
RemoteRepository
interface.
@Deprecated public class ServerRepository extends ServerObject implements RemoteRepository
Repository,
RemoteRepository,
Serialized Formref| Constructor and Description |
|---|
ServerRepository(Repository repository,
RemoteAdapterFactory factory)
Deprecated.
Creates a remote adapter for the given local repository.
|
getFactory, getRemoteItem, getRemoteNode, getRemoteNodeTypeArray, getRepositoryException, getSerialValue, getSerialValuesclone, 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(Credentials}
method.login in interface RemoteRepositorycredentials - client credentialsRepositoryException - 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 errorsCopyright © 2004–2024 The Apache Software Foundation. All rights reserved.