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(forRemoval=true) public class ServerQueryResult extends ServerObject implements RemoteQueryResult
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
QueryResult
interface. This class makes a local session available as an RMI service using theRemoteQueryResult
interface.- 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, for removal: This API element is subject to removal in a future version.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, for removal: This API element is subject to removal in a future version.RemoteIterator
getNodes()
Deprecated, for removal: This API element is subject to removal in a future version.RemoteIterator
getRows()
Deprecated, for removal: This API element is subject to removal in a future version.String[]
getSelectorNames()
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
-
ServerQueryResult
public ServerQueryResult(QueryResult result, 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 localQueryResult
.- Parameters:
result
- localQueryResult
factory
- remote adapter factory- Throws:
RemoteException
- on RMI errors
-
-
Method Detail
-
getColumnNames
public String[] getColumnNames() throws RepositoryException, RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getColumnNames
in interfaceRemoteQueryResult
- Returns:
- a
PropertyIterator
- Throws:
RepositoryException
- on repository errorsRemoteException
- on RMI errors- See Also:
QueryResult.getColumnNames()
-
getRows
public RemoteIterator getRows() throws RepositoryException, RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getRows
in interfaceRemoteQueryResult
- Returns:
- a
RowIterator
- Throws:
RepositoryException
- on repository errorsRemoteException
- on RMI errors- See Also:
QueryResult.getRows()
-
getNodes
public RemoteIterator getNodes() throws RepositoryException, RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getNodes
in 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, for removal: This API element is subject to removal in a future version.- Specified by:
getSelectorNames
in interfaceRemoteQueryResult
- Returns:
- a
String
array holding the selector names. - Throws:
RepositoryException
- on repository errorsRemoteException
- on RMI errors- See Also:
QueryResult.getSelectorNames()
-
-