|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.osjava.sj.jndi.ContextBindings
org.osjava.sj.jndi.ContextNames
public class ContextNames
This class represents a NamingEnumeration of the class names of a Context. Originally authored by Henri Yandell and modified to make more flexable with other Context implementations.
| Constructor Summary | |
|---|---|
ContextNames(java.util.Map table)
Creates a ContextNames object based upon an a Map of names and the objects the names are bound to. |
|
| Method Summary | |
|---|---|
java.lang.Object |
next()
Returns a NameClassPair created from the next available name. |
java.lang.Object |
nextElement()
Returns a NameClassPair created from the next available name. |
| Methods inherited from class org.osjava.sj.jndi.ContextBindings |
|---|
close, hasMore, hasMoreElements |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ContextNames(java.util.Map table)
table is modified after instantiation
of ContextBindings, behavior is undefined and should be considered invalid.
table - The table upon which the ContextBindings is based.| Method Detail |
|---|
public java.lang.Object nextElement()
NameClassPair created from the next available name.
nextElement in interface java.util.EnumerationnextElement in class ContextBindings
public java.lang.Object next()
throws javax.naming.NamingException
NameClassPair created from the next available name.
next in interface javax.naming.NamingEnumerationnext in class ContextBindingsjavax.naming.NamingException - if a naming exception occurs
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||