Package org.apache.jackrabbit.rmi.remote
Interface RemoteRepository
-
- All Superinterfaces:
Remote
- All Known Implementing Classes:
BrokenRemoteRepository
,ServerRepository
@Deprecated(forRemoval=true) public interface RemoteRepository extends Remote
Deprecated, for removal: This API element is subject to removal in a future version.RMI support is deprecated and will be removed in a future version of Jackrabbit; see Jira ticket JCR-4972 for more information.Remote version of the JCR
Repository
interface. Used by theServerRepository
andClientRepository
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 theRemoteSession
interface. Simple return values and possible exceptions are copied over the network to the client. RMI errors are signaled with RemoteExceptions.- See Also:
Repository
,ClientRepository
,ServerRepository
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description String
getDescriptor(String key)
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theRepository.getDescriptor(String)
method.String[]
getDescriptorKeys()
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theRepository.getDescriptorKeys()
method.Value
getDescriptorValue(String key)
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theRepository.getDescriptorValue(String)
method.Value[]
getDescriptorValues(String key)
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theRepository.getDescriptorValues(String)
method.boolean
isSingleValueDescriptor(String key)
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theRepository.isSingleValueDescriptor(String)
method.boolean
isStandardDescriptor(String key)
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theRepository.isStandardDescriptor(String)
method.RemoteSession
login()
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theRepository.login(
} method.RemoteSession
login(String workspace)
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theRepository.login(String
} method.RemoteSession
login(Credentials credentials)
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theRepository.login(Credentials
} method.RemoteSession
login(Credentials credentials, String workspace)
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theRepository.login(Credentials,String
} method.
-
-
-
Method Detail
-
getDescriptor
String getDescriptor(String key) throws RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theRepository.getDescriptor(String)
method.- Parameters:
key
- descriptor key- Returns:
- descriptor value
- Throws:
RemoteException
- on RMI errors
-
getDescriptorKeys
String[] getDescriptorKeys() throws RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theRepository.getDescriptorKeys()
method.- Returns:
- descriptor keys
- Throws:
RemoteException
- on RMI errors
-
login
RemoteSession login() throws RepositoryException, RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theRepository.login(
} method.- Returns:
- remote session
- Throws:
RepositoryException
- on repository errorsRemoteException
- on RMI errors
-
login
RemoteSession login(String workspace) throws RepositoryException, RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theRepository.login(String
} method.- Parameters:
workspace
- workspace name- Returns:
- remote session
- Throws:
RepositoryException
- on repository errorsRemoteException
- on RMI errors
-
login
RemoteSession login(Credentials credentials) throws RepositoryException, RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theRepository.login(Credentials
} method.- Parameters:
credentials
- client credentials- Returns:
- remote session
- Throws:
RepositoryException
- on repository errorsRemoteException
- on RMI errors
-
login
RemoteSession login(Credentials credentials, String workspace) throws RepositoryException, RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theRepository.login(Credentials,String
} method.- Parameters:
credentials
- client credentialsworkspace
- workspace name- Returns:
- remote session
- Throws:
RepositoryException
- on repository errorsRemoteException
- on RMI errors
-
getDescriptorValue
Value getDescriptorValue(String key) throws RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theRepository.getDescriptorValue(String)
method.- Returns:
- descriptor value
- Throws:
RemoteException
- on RMI errors
-
getDescriptorValues
Value[] getDescriptorValues(String key) throws RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theRepository.getDescriptorValues(String)
method.- Returns:
- descriptor value array
- Throws:
RemoteException
- on RMI errors
-
isSingleValueDescriptor
boolean isSingleValueDescriptor(String key) throws RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theRepository.isSingleValueDescriptor(String)
method.- Returns:
- boolean
- Throws:
RemoteException
- on RMI errors
-
isStandardDescriptor
boolean isStandardDescriptor(String key) throws RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theRepository.isStandardDescriptor(String)
method.- Returns:
- boolean
- Throws:
RemoteException
- on RMI errors
-
-