com.sun.ejb.portable
Class ObjrefEnumeration
java.lang.Object
com.sun.ejb.portable.ObjrefEnumeration
- All Implemented Interfaces:
- java.io.Serializable, java.util.Enumeration
public final class ObjrefEnumeration
- extends java.lang.Object
- implements java.util.Enumeration, java.io.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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ObjrefEnumeration
public ObjrefEnumeration()
add
public void add(java.lang.Object obj)
hasMoreElements
public boolean hasMoreElements()
- Specified by:
hasMoreElements in interface java.util.Enumeration
nextElement
public java.lang.Object nextElement()
- Specified by:
nextElement in interface java.util.Enumeration
Copyright © 2012 GlassFish Community. All Rights Reserved.