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 public class ServerPrincipalIterator extends ServerIterator
Deprecated.- 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected ObjectgetRemoteObject(Object object)Deprecated.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, 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.- Throws:
RemoteException
-
-
Method Detail
-
getRemoteObject
protected Object getRemoteObject(Object object) throws RemoteException
Deprecated.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:
getRemoteObjectin classServerIterator- Parameters:
object- local object- Returns:
- remote adapter
- Throws:
RemoteException- on RMI errors
-
-