Package org.apache.jackrabbit.rmi.server
Class ServerRow
- java.lang.Object
-
- java.rmi.server.RemoteObject
-
- java.rmi.server.RemoteServer
-
- java.rmi.server.UnicastRemoteObject
-
- org.apache.jackrabbit.rmi.server.ServerObject
-
- org.apache.jackrabbit.rmi.server.ServerRow
-
- All Implemented Interfaces:
Serializable
,Remote
,RemoteRow
@Deprecated(forRemoval=true) public class ServerRow extends ServerObject implements RemoteRow
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 adapter for the JCR
Row
interface. This class makes a local session available as an RMI service using theRemoteRow
interface.- See Also:
Row
,RemoteRow
, Serialized Form
-
-
Field Summary
-
Fields inherited from class java.rmi.server.RemoteObject
ref
-
-
Constructor Summary
Constructors Constructor Description ServerRow(Row row, RemoteAdapterFactory factory)
Deprecated, for removal: This API element is subject to removal in a future version.Creates a remote adapter for the given local query row.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description RemoteNode
getNode()
Deprecated, for removal: This API element is subject to removal in a future version.RemoteNode
getNode(String selectorName)
Deprecated, for removal: This API element is subject to removal in a future version.String
getPath()
Deprecated, for removal: This API element is subject to removal in a future version.String
getPath(String selectorName)
Deprecated, for removal: This API element is subject to removal in a future version.double
getScore()
Deprecated, for removal: This API element is subject to removal in a future version.double
getScore(String selectorName)
Deprecated, for removal: This API element is subject to removal in a future version.Value
getValue(String propertyName)
Deprecated, for removal: This API element is subject to removal in a future version.Value[]
getValues()
Deprecated, for removal: This API element is subject to removal in a future version.-
Methods inherited from class org.apache.jackrabbit.rmi.server.ServerObject
getFactory, getRemoteItem, getRemoteNode, getRemoteNodeTypeArray, getRepositoryException, getSerialValue, getSerialValues
-
Methods inherited from class java.rmi.server.UnicastRemoteObject
clone, exportObject, exportObject, exportObject, exportObject, exportObject, unexportObject
-
Methods inherited from class java.rmi.server.RemoteServer
getClientHost, getLog, setLog
-
-
-
-
Constructor Detail
-
ServerRow
public ServerRow(Row row, RemoteAdapterFactory factory) throws RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.Creates a remote adapter for the given local query row.- Parameters:
row
- local query rowfactory
- remote adapter factory- Throws:
RemoteException
- on RMI errors
-
-
Method Detail
-
getValues
public Value[] getValues() throws RepositoryException, RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getValues
in interfaceRemoteRow
- Returns:
- row values
- Throws:
RepositoryException
- on repository errorsRemoteException
- on RMI errors- See Also:
Row.getValues()
-
getValue
public Value getValue(String propertyName) throws RepositoryException, RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getValue
in interfaceRemoteRow
- Parameters:
propertyName
- property name- Returns:
- identified value
- Throws:
RepositoryException
- on repository errorsRemoteException
- on RMI errors- See Also:
Row.getValue(String)
-
getNode
public RemoteNode getNode() throws RepositoryException, RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getNode
in interfaceRemoteRow
- Returns:
- a node
- Throws:
RepositoryException
- on repository errorsRemoteException
- on RMI errors- See Also:
Row.getNode()
-
getNode
public RemoteNode getNode(String selectorName) throws RepositoryException, RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getNode
in interfaceRemoteRow
- Returns:
- a node
- Throws:
RepositoryException
- on repository errorsRemoteException
- on RMI errors- See Also:
Row.getNode(String)
-
getPath
public String getPath() throws RepositoryException, RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getPath
in interfaceRemoteRow
- Returns:
- the path
- Throws:
RepositoryException
- on repository errorsRemoteException
- on RMI errors- See Also:
Row.getPath()
-
getPath
public String getPath(String selectorName) throws RepositoryException, RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getPath
in interfaceRemoteRow
- Returns:
- the path
- Throws:
RepositoryException
- on repository errorsRemoteException
- on RMI errors- See Also:
Row.getPath(String)
-
getScore
public double getScore() throws RepositoryException, RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getScore
in interfaceRemoteRow
- Returns:
- the score
- Throws:
RepositoryException
- on repository errorsRemoteException
- on RMI errors- See Also:
Row.getScore()
-
getScore
public double getScore(String selectorName) throws RepositoryException, RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getScore
in interfaceRemoteRow
- Returns:
- the score
- Throws:
RepositoryException
- on repository errorsRemoteException
- on RMI errors- See Also:
Row.getScore(String)
-
-