Located in compilation unit of com.
| Modifier and Type | Field and Description |
|---|---|
| private RegistryContext | |
| private final String[] | |
| private int |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public boolean | hasMore()
Implements javax. Determines whether there are any more elements in the enumeration. |
| public boolean | hasMoreElements()
Implements java. Tests if this enumeration contains more elements. |
| public Binding | next()
Implements javax. Retrieves the next element in the enumeration. |
| public Binding | nextElement()
Implements java. Returns the next element of this enumeration if this enumeration object has at least one more element to provide. |
| ctx | back to summary |
|---|---|
| private RegistryContext ctx | |
| names | back to summary |
|---|---|
| private final String[] names | |
| nextName | back to summary |
|---|---|
| private int nextName | |
| BindingEnumeration | back to summary |
|---|---|
| pack-priv BindingEnumeration(RegistryContext ctx, String[] names) | |
| close | back to summary |
|---|---|
| public void close() Implements javax. Doc from javax. Closes this enumeration.
After this method has been invoked on this enumeration, the
enumeration becomes invalid and subsequent invocation of any of
its methods will yield undefined results.
This method is intended for aborting an enumeration to free up resources.
If an enumeration proceeds to the end--that is, until
This method indicates to the service provider that it is free
to release resources associated with the enumeration, and can
notify servers to cancel any outstanding requests. The | |
| hasMore | back to summary |
|---|---|
| public boolean hasMore() Implements javax. Doc from javax. Determines whether there are any more elements in the enumeration. This method allows naming exceptions encountered while determining whether there are more elements to be caught and handled by the application. | |
| hasMoreElements | back to summary |
|---|---|
| public boolean hasMoreElements() Implements java. Doc from java. Tests if this enumeration contains more elements. | |
| next | back to summary |
|---|---|
| public Binding next() throws NamingException Implements javax. Doc from javax. Retrieves the next element in the enumeration. This method allows naming exceptions encountered while retrieving the next element to be caught and handled by the application.
Note that
| |
| nextElement | back to summary |
|---|---|
| public Binding nextElement() Implements java. Doc from java. Returns the next element of this enumeration if this enumeration object has at least one more element to provide. | |