Package com.sun.ejb.portable
Class ObjrefEnumeration
java.lang.Object
com.sun.ejb.portable.ObjrefEnumeration
- All Implemented Interfaces:
Serializable,Enumeration
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:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbooleanMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Enumeration
asIterator
-
Constructor Details
-
ObjrefEnumeration
public ObjrefEnumeration()
-
-
Method Details
-
add
-
hasMoreElements
public boolean hasMoreElements()- Specified by:
hasMoreElementsin interfaceEnumeration
-
nextElement
- Specified by:
nextElementin interfaceEnumeration
-