org.activemq.jndi
Class ReadOnlyContext.LocalNamingEnumeration

java.lang.Object
org.activemq.jndi.ReadOnlyContext.LocalNamingEnumeration
- All Implemented Interfaces:
- java.util.Enumeration, javax.naming.NamingEnumeration
- Direct Known Subclasses:
- ReadOnlyContext.ListBindingEnumeration, ReadOnlyContext.ListEnumeration
- Enclosing class:
- ReadOnlyContext
- private abstract class ReadOnlyContext.LocalNamingEnumeration
- extends java.lang.Object
- implements javax.naming.NamingEnumeration
|
Method Summary |
void |
close()
|
protected java.util.Map.Entry |
getNext()
|
boolean |
hasMore()
|
boolean |
hasMoreElements()
Tests whether there are elements remaining in the enumeration. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
i
private java.util.Iterator i
ReadOnlyContext.LocalNamingEnumeration
private ReadOnlyContext.LocalNamingEnumeration()
hasMore
public boolean hasMore()
throws javax.naming.NamingException
- Specified by:
hasMore in interface javax.naming.NamingEnumeration
hasMoreElements
public boolean hasMoreElements()
- Description copied from interface:
java.util.Enumeration
- Tests whether there are elements remaining in the enumeration.
- Specified by:
hasMoreElements in interface java.util.Enumeration
getNext
protected java.util.Map.Entry getNext()
close
public void close()
throws javax.naming.NamingException
- Specified by:
close in interface javax.naming.NamingEnumeration