Package com.sun.ejb.portable
Class ObjrefEnumeration
- java.lang.Object
-
- com.sun.ejb.portable.ObjrefEnumeration
-
- All Implemented Interfaces:
Serializable
,Enumeration
public final class ObjrefEnumeration extends Object implements Enumeration, Serializable
This class is necessary because neither Vector nor Hashtable return a Serializable Enumeration, which can be sent from the EJB server back to the client. This class must be available at the client too, and it could be instantiated in another vendor's container.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ObjrefEnumeration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(Object obj)
boolean
hasMoreElements()
Object
nextElement()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Enumeration
asIterator
-
-
-
-
Method Detail
-
add
public void add(Object obj)
-
hasMoreElements
public boolean hasMoreElements()
- Specified by:
hasMoreElements
in interfaceEnumeration
-
nextElement
public Object nextElement()
- Specified by:
nextElement
in interfaceEnumeration
-
-