org.apache.jackrabbit.rmi.client.principal
Class ClientPrincipalIterator
java.lang.Object
org.apache.jackrabbit.rmi.client.ClientObject
org.apache.jackrabbit.rmi.client.iterator.ClientIterator
org.apache.jackrabbit.rmi.client.principal.ClientPrincipalIterator
- All Implemented Interfaces:
- Iterator, RangeIterator
public class ClientPrincipalIterator
- extends ClientIterator
A ClientIterator for iterating remote principals
Method Summary |
protected Object |
getObject(Object remote)
Returns a local adapter for the given remote object. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClientPrincipalIterator
public ClientPrincipalIterator(RemoteIterator iterator,
LocalAdapterFactory factory)
getObject
protected Object getObject(Object remote)
- Returns a local adapter for the given remote object. This abstract
method is used by
ClientIterator.next()
to convert the remote references
returned by the remote iterator to local adapters.
Subclasses should implement this method to use the local adapter
factory to create local adapters of the specific element type.
- Specified by:
getObject
in class ClientIterator
- Parameters:
remote
- remote object
- Returns:
- local adapter
Copyright © 2004-2010 The Apache Software Foundation. All Rights Reserved.