Package org.apache.jackrabbit.rmi.server
Class ServerQueryResult
- 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.ServerQueryResult
-
- All Implemented Interfaces:
Serializable,Remote,RemoteQueryResult
@Deprecated public class ServerQueryResult extends ServerObject implements RemoteQueryResult
Deprecated.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
QueryResultinterface. This class makes a local session available as an RMI service using theRemoteQueryResultinterface.- See Also:
QueryResult,RemoteQueryResult, Serialized Form
-
-
Field Summary
-
Fields inherited from class java.rmi.server.RemoteObject
ref
-
-
Constructor Summary
Constructors Constructor Description ServerQueryResult(QueryResult result, RemoteAdapterFactory factory)Deprecated.Creates a remote adapter for the given localQueryResult.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description String[]getColumnNames()Deprecated.RemoteIteratorgetNodes()Deprecated.RemoteIteratorgetRows()Deprecated.String[]getSelectorNames()Deprecated.-
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, unexportObject
-
Methods inherited from class java.rmi.server.RemoteServer
getClientHost, getLog, setLog
-
-
-
-
Constructor Detail
-
ServerQueryResult
public ServerQueryResult(QueryResult result, RemoteAdapterFactory factory) throws RemoteException
Deprecated.Creates a remote adapter for the given localQueryResult.- Parameters:
result- localQueryResultfactory- remote adapter factory- Throws:
RemoteException- on RMI errors
-
-
Method Detail
-
getColumnNames
public String[] getColumnNames() throws RepositoryException, RemoteException
Deprecated.- Specified by:
getColumnNamesin interfaceRemoteQueryResult- Returns:
- a
PropertyIterator - Throws:
RepositoryException- on repository errorsRemoteException- on RMI errors- See Also:
QueryResult.getColumnNames()
-
getRows
public RemoteIterator getRows() throws RepositoryException, RemoteException
Deprecated.- Specified by:
getRowsin interfaceRemoteQueryResult- Returns:
- a
RowIterator - Throws:
RepositoryException- on repository errorsRemoteException- on RMI errors- See Also:
QueryResult.getRows()
-
getNodes
public RemoteIterator getNodes() throws RepositoryException, RemoteException
Deprecated.- Specified by:
getNodesin interfaceRemoteQueryResult- Returns:
- a remote node iterator
- Throws:
RepositoryException- on repository errorsRemoteException- on RMI errors- See Also:
QueryResult.getNodes()
-
getSelectorNames
public String[] getSelectorNames() throws RepositoryException, RemoteException
Deprecated.- Specified by:
getSelectorNamesin interfaceRemoteQueryResult- Returns:
- a
Stringarray holding the selector names. - Throws:
RepositoryException- on repository errorsRemoteException- on RMI errors- See Also:
QueryResult.getSelectorNames()
-
-