Class ServerAccessControlPolicyIterator

  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
All Implemented Interfaces:
Serializable, Remote, RemoteIterator

public class ServerAccessControlPolicyIterator
extends ServerIterator

A ServerIterator for iterating rows.

See Also:
Serialized Form

Field Summary
Fields inherited from class java.rmi.server.RemoteObject
Constructor Summary
ServerAccessControlPolicyIterator(AccessControlPolicyIterator iterator, RemoteAdapterFactory factory, int maxBufferSize)
          Creates a ServerRowIterator instance.
Method Summary
protected  Object getRemoteObject(Object object)
          Creates and returns a remote adapter for the given row.
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 ServerAccessControlPolicyIterator(AccessControlPolicyIterator iterator,
                                         RemoteAdapterFactory factory,
                                         int maxBufferSize)
                                  throws RemoteException
Creates a ServerRowIterator instance.

iterator - local row iterator
factory - remote adapter factory
maxBufferSize - maximum size of the element buffer
RemoteException - on RMI errors
Method Detail


protected Object getRemoteObject(Object object)
                          throws RemoteException
Creates and returns a remote adapter for the given row.

Specified by:
getRemoteObject in class ServerIterator
object - local object
remote adapter
RemoteException - on RMI errors
See Also:

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