org.objectweb.jonas_ejb.lib.CollectionEnum Class Reference

List of all members.

Public Member Functions

 CollectionEnum ()
synchronized void addElement (Object obj)
 CollectionEnum (Vector v)
boolean hasMoreElements ()
Object nextElement () throws NoSuchElementException

Detailed Description

This class implements the java.util.Enumeration and the java.io.Serializable interfaces.
This class is used as the return value type of the implementation of the finder methods which return a collection.
Indeed, the EJB spec. tells that the type for a collection is the java.util.Enumeration. In addition the return value type must be legal type for Java RMI (ie. serializable type).
Author:
Helene Joanin : Initial developer

Definition at line 46 of file CollectionEnum.java.


Constructor & Destructor Documentation

org.objectweb.jonas_ejb.lib.CollectionEnum.CollectionEnum  ) 
 

Create an empty CollectionEnum

Definition at line 61 of file CollectionEnum.java.

org.objectweb.jonas_ejb.lib.CollectionEnum.CollectionEnum Vector  v  ) 
 

Create a CollectionEnum from a vector

Definition at line 76 of file CollectionEnum.java.


Member Function Documentation

synchronized void org.objectweb.jonas_ejb.lib.CollectionEnum.addElement Object  obj  ) 
 

Add an element

Definition at line 69 of file CollectionEnum.java.

boolean org.objectweb.jonas_ejb.lib.CollectionEnum.hasMoreElements  ) 
 

Implements Enumeration.hasMoreElements()

Definition at line 87 of file CollectionEnum.java.

Object org.objectweb.jonas_ejb.lib.CollectionEnum.nextElement  )  throws NoSuchElementException
 

Implements Enumeration.nextElement()

Definition at line 94 of file CollectionEnum.java.


The documentation for this class was generated from the following file:
Generated on Tue Feb 15 15:11:51 2005 for JOnAS by  doxygen 1.3.9.1