|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.carol.util.naming.LocalEnumeration
public class LocalEnumeration
Local enumeration for local context
Constructor Summary | |
---|---|
LocalEnumeration(javax.naming.Context ctx,
java.lang.String[] names)
Default constructor |
Method Summary | |
---|---|
void |
close()
Close the enumeration |
boolean |
hasMore()
Enumeration is finished ? |
boolean |
hasMoreElements()
Enumeration is finished ? |
java.lang.Object |
next()
|
java.lang.Object |
nextElement()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LocalEnumeration(javax.naming.Context ctx, java.lang.String[] names)
ctx
- given contextnames
- names to enumerateMethod Detail |
---|
public boolean hasMore()
hasMore
in interface javax.naming.NamingEnumeration
public java.lang.Object next() throws javax.naming.NamingException
next
in interface javax.naming.NamingEnumeration
javax.naming.NamingException
- if compositeName object cannot be builtpublic boolean hasMoreElements()
hasMoreElements
in interface java.util.Enumeration
public java.lang.Object nextElement()
nextElement
in interface java.util.Enumeration
public void close()
close
in interface javax.naming.NamingEnumeration
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |