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
@Deprecated(forRemoval=true) public class ClientPrincipalIterator extends ClientIterator
Deprecated, for removal: This API element is subject to removal in a future version.RMI support is deprecated and will be removed in a future version of Jackrabbit; see Jira ticket JCR-4972 for more information.A ClientIterator for iterating remote principals
-
-
Constructor Summary
Constructors Constructor Description ClientPrincipalIterator(RemoteIterator iterator, LocalAdapterFactory factory)
Deprecated, for removal: This API element is subject to removal in a future version.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected Object
getObject(Object remote)
Deprecated, for removal: This API element is subject to removal in a future version.Returns a local adapter for the given remote object.-
Methods inherited from class org.apache.jackrabbit.rmi.client.iterator.ClientIterator
getPosition, getSize, hasNext, next, remove, skip
-
Methods inherited from class org.apache.jackrabbit.rmi.client.ClientObject
getFactory, getItem, getNode, getNodeTypeArray
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Iterator
forEachRemaining
-
-
-
-
Constructor Detail
-
ClientPrincipalIterator
public ClientPrincipalIterator(RemoteIterator iterator, LocalAdapterFactory factory)
Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Detail
-
getObject
protected Object getObject(Object remote)
Deprecated, for removal: This API element is subject to removal in a future version.Returns a local adapter for the given remote object. This abstract method is used byClientIterator.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 classClientIterator
- Parameters:
remote
- remote object- Returns:
- local adapter
-
-