Oracle Application Server TopLink API Reference
10g Release 2 (10.1.2)

B15903-01


oracle.toplink.ejb.cmp.wls11
Interface CursoredEnumeratorRemote

All Superinterfaces:
weblogic.rmi.Remote, java.rmi.Remote
All Known Implementing Classes:
CursoredEnumeratorRemoteImpl

public interface CursoredEnumeratorRemote
extends weblogic.rmi.Remote

CursoredEnumeratorRemote is the interface used by CursoredEnumerator to use remote cursored streams across RMI.


Method Summary
 void close()
          Close the underlying cursor.
 boolean hasMoreElements()
          Answer a boolean indicating if the underlying cursor has more elements to return.
 java.lang.Object nextElement()
          Return the next element from the cursor.
 java.util.Vector nextElements(int numberOfElements)
          Return the next numberOfElements elements in the underlying cursor.

 

Method Detail

close

public void close()
           throws java.rmi.RemoteException
Close the underlying cursor. This should be invoked when the user

is finished using the cursor.

Throws:
java.rmi.RemoteException

hasMoreElements

public boolean hasMoreElements()
                        throws java.rmi.RemoteException
Answer a boolean indicating if the underlying cursor has

more elements to return.

Throws:
java.rmi.RemoteException

nextElement

public java.lang.Object nextElement()
                             throws java.rmi.RemoteException
Return the next element from the cursor.
Throws:
java.rmi.RemoteException

nextElements

public java.util.Vector nextElements(int numberOfElements)
                              throws java.rmi.RemoteException
Return the next numberOfElements elements in the underlying cursor.
Throws:
java.rmi.RemoteException

Copyright © 1998, 2005 Oracle Corporation. All Rights Reserved.