oracle.toplink.ejb.cmp.wls11
Interface CursoredEnumeratorRemote

All Known Implementing Classes:
CursoredEnumeratorRemoteImpl

public interface CursoredEnumeratorRemote

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


Method Summary
TypeMethod
 void close()
          Close the underlying cursor.
 boolean hasMoreElements()
          Answer a boolean indicating if the underlying cursor has
 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.


hasMoreElements

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

more elements to return.


nextElement

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

nextElements

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