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
public class ServerRow
- extends ServerObject
- implements RemoteRow
Remote adapter for the JCR Row interface.
This class makes a local session available as an RMI service using the
RemoteRow
interface.
- See Also:
Row,
RemoteRow,
Serialized Form
ServerRow
public ServerRow(Row row,
RemoteAdapterFactory factory)
throws RemoteException
- Creates a remote adapter for the given local query row.
- Parameters:
row - local query rowfactory - remote adapter factory
- Throws:
RemoteException - on RMI errors
getValues
public Value[] getValues()
throws RepositoryException,
RemoteException
-
- Specified by:
getValues in interface RemoteRow
- Returns:
- row values
- Throws:
RepositoryException - on repository errors
RemoteException - on RMI errors- See Also:
Row.getValues()
getValue
public Value getValue(String propertyName)
throws RepositoryException,
RemoteException
-
- Specified by:
getValue in interface RemoteRow
- Parameters:
propertyName - property name
- Returns:
- identified value
- Throws:
RepositoryException - on repository errors
RemoteException - on RMI errors- See Also:
Row.getValue(String)
Copyright © 2004-2017 The Apache Software Foundation. All Rights Reserved.