Class ServerPrincipalIterator
- 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.iterator.ServerIterator
-
- org.apache.jackrabbit.rmi.server.principal.ServerPrincipalIterator
-
- All Implemented Interfaces:
Serializable
,Remote
,RemoteIterator
@Deprecated(forRemoval=true) public class ServerPrincipalIterator extends ServerIterator
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class java.rmi.server.RemoteObject
ref
-
-
Constructor Summary
Constructors Constructor Description ServerPrincipalIterator(Iterator<Principal> iterator, RemoteAdapterFactory factory, int maxBufferSize)
Deprecated, for removal: This API element is subject to removal in a future version.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected Object
getRemoteObject(Object object)
Deprecated, for removal: This API element is subject to removal in a future version.Returns a remote adapter for the given local object.-
Methods inherited from class org.apache.jackrabbit.rmi.server.iterator.ServerIterator
getSize, nextObjects, skip
-
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
-
ServerPrincipalIterator
public ServerPrincipalIterator(Iterator<Principal> iterator, RemoteAdapterFactory factory, int maxBufferSize) throws RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
RemoteException
-
-
Method Detail
-
getRemoteObject
protected Object getRemoteObject(Object object) throws RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.Returns a remote adapter for the given local object. This abstract method is used byServerIterator.nextObjects()
to convert the local objects to remote references to be sent to the client.Subclasses should implement this method to use the remote adapter factory to create remote adapters of the specific element type.
- Specified by:
getRemoteObject
in classServerIterator
- Parameters:
object
- local object- Returns:
- remote adapter
- Throws:
RemoteException
- on RMI errors
-
-