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
| 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(Object obj)
hasMoreElements
public boolean hasMoreElements()
- Specified by:
hasMoreElements in interface Enumeration
nextElement
public Object nextElement()
- Specified by:
nextElement in interface Enumeration
Copyright © 2012 GlassFish Community. All Rights Reserved.