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:
- Remote, RemoteRow, Serializable
- 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.
- Author:
- Philipp Koch
- 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:
RemoteException
- on RMI errors
RepositoryException
- on repository 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:
RemoteException
- on RMI errors
RepositoryException
- on repository errors- See Also:
Row.getValue(String)
Copyright © 2004-2006 . All Rights Reserved.