@Deprecated public class ServerPrincipalIterator extends ServerIterator
ref
Constructor and Description |
---|
ServerPrincipalIterator(Iterator<Principal> iterator,
RemoteAdapterFactory factory,
int maxBufferSize)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected Object |
getRemoteObject(Object object)
Deprecated.
Returns a remote adapter for the given local object.
|
getSize, nextObjects, skip
getFactory, getRemoteItem, getRemoteNode, getRemoteNodeTypeArray, getRepositoryException, getSerialValue, getSerialValues
clone, exportObject, exportObject, exportObject, unexportObject
getClientHost, getLog, setLog
public ServerPrincipalIterator(Iterator<Principal> iterator, RemoteAdapterFactory factory, int maxBufferSize) throws RemoteException
RemoteException
protected Object getRemoteObject(Object object) throws RemoteException
ServerIterator.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.
getRemoteObject
in class ServerIterator
object
- local objectRemoteException
- on RMI errorsCopyright © 2004–2024 The Apache Software Foundation. All rights reserved.