org.apache.openejb.client
Class NameClassPairEnumeration<T extends NameClassPair>
java.lang.Object
org.apache.openejb.client.NameClassPairEnumeration<T>
- All Implemented Interfaces:
- Externalizable, Serializable, Enumeration<T>, NamingEnumeration<T>
public class NameClassPairEnumeration<T extends NameClassPair>
- extends Object
- implements NamingEnumeration<T>, Externalizable
The product of a javax.naming.Context.list() method
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NameClassPairEnumeration
public NameClassPairEnumeration(List<NameClassPair> list)
NameClassPairEnumeration
public NameClassPairEnumeration()
close
public void close()
- Specified by:
close
in interface NamingEnumeration<T extends NameClassPair>
hasMore
public boolean hasMore()
- Specified by:
hasMore
in interface NamingEnumeration<T extends NameClassPair>
hasMoreElements
public boolean hasMoreElements()
- Specified by:
hasMoreElements
in interface Enumeration<T extends NameClassPair>
next
public T next()
- Specified by:
next
in interface NamingEnumeration<T extends NameClassPair>
nextElement
public T nextElement()
- Specified by:
nextElement
in interface Enumeration<T extends NameClassPair>
writeExternal
public void writeExternal(ObjectOutput out)
throws IOException
- Specified by:
writeExternal
in interface Externalizable
- Throws:
IOException
readExternal
public void readExternal(ObjectInput in)
throws IOException,
ClassNotFoundException
- Specified by:
readExternal
in interface Externalizable
- Throws:
IOException
ClassNotFoundException
Copyright © 1999-2013 The Apache OpenEJB development community. All Rights Reserved.