Class ServerPrincipalIterator

    • Method Detail

      • getRemoteObject

        protected Object getRemoteObject​(Object object)
                                  throws RemoteException
        Deprecated, for removal: This API element is subject to removal in a future version.
        Returns a remote adapter for the given local object. This abstract method is used by 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.

        Specified by:
        getRemoteObject in class ServerIterator
        Parameters:
        object - local object
        Returns:
        remote adapter
        Throws:
        RemoteException - on RMI errors