org.apache.jackrabbit.rmi.server.principal
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
public class ServerPrincipalIterator
- extends ServerIterator
- See Also:
- Serialized Form
ServerPrincipalIterator
public ServerPrincipalIterator(Iterator<Principal> iterator,
RemoteAdapterFactory factory,
int maxBufferSize)
throws RemoteException
- Throws:
RemoteException
getRemoteObject
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
- Parameters:
object
- local object
- Returns:
- remote adapter
- Throws:
RemoteException
- on RMI errors
Copyright © 2004-2010 The Apache Software Foundation. All Rights Reserved.