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:
- java.io.Serializable, java.rmi.Remote, RemoteIterator
public class ServerPrincipalIterator
- extends ServerIterator
- See Also:
- Serialized Form
Fields inherited from class java.rmi.server.RemoteObject |
ref |
Method Summary |
protected java.lang.Object |
getRemoteObject(java.lang.Object object)
Returns a remote adapter for the given local object. |
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 |
ServerPrincipalIterator
public ServerPrincipalIterator(java.util.Iterator<java.security.Principal> iterator,
RemoteAdapterFactory factory,
int maxBufferSize)
throws java.rmi.RemoteException
- Throws:
java.rmi.RemoteException
getRemoteObject
protected java.lang.Object getRemoteObject(java.lang.Object object)
throws java.rmi.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:
java.rmi.RemoteException
- on RMI errors
Copyright © 2004-2010 Apache Software Foundation. All Rights Reserved.