org.apache.openejb.client
Class NameClassPairEnumeration<T extends NameClassPair>

java.lang.Object
  extended by 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

Constructor Summary
NameClassPairEnumeration()
           
NameClassPairEnumeration(List<NameClassPair> list)
           
 
Method Summary
 void close()
           
 boolean hasMore()
           
 boolean hasMoreElements()
           
 T next()
           
 T nextElement()
           
 void readExternal(ObjectInput in)
           
 void writeExternal(ObjectOutput out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NameClassPairEnumeration

public NameClassPairEnumeration(List<NameClassPair> list)

NameClassPairEnumeration

public NameClassPairEnumeration()
Method Detail

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-2011 The Apache OpenEJB development community. All Rights Reserved.