Class ServerPrincipalIterator

  extended by java.rmi.server.RemoteObject
      extended by java.rmi.server.RemoteServer
          extended by java.rmi.server.UnicastRemoteObject
              extended by org.apache.jackrabbit.rmi.server.ServerObject
                  extended by org.apache.jackrabbit.rmi.server.iterator.ServerIterator
                      extended by org.apache.jackrabbit.rmi.server.principal.ServerPrincipalIterator
All Implemented Interfaces:
Serializable, Remote, RemoteIterator

public class ServerPrincipalIterator
extends ServerIterator

See Also:
Serialized Form

Field Summary
Fields inherited from class java.rmi.server.RemoteObject
Constructor Summary
ServerPrincipalIterator(Iterator<Principal> iterator, RemoteAdapterFactory factory, int maxBufferSize)
Method Summary
protected  Object getRemoteObject(Object object)
          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
Methods inherited from class java.rmi.server.RemoteObject
equals, getRef, hashCode, toString, toStub
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait

Constructor Detail


public ServerPrincipalIterator(Iterator<Principal> iterator,
                               RemoteAdapterFactory factory,
                               int maxBufferSize)
                        throws RemoteException
Method Detail


protected Object getRemoteObject(Object object)
                          throws RemoteException
Description copied from class: ServerIterator
Returns a remote adapter for the given local object. This abstract method is used by #nextObjects(int) 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 class ServerIterator
object - local object
remote adapter
RemoteException - on RMI errors

Copyright © 2004-2010 The Apache Software Foundation. All Rights Reserved.