Class 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 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 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