| Modifier and Type | Field and Description |
|---|---|
| private NamingEnumeration | |
| private SearchControls | |
| private Context | |
| private Hashtable | |
| private AttrFilter | |
| private SearchResult | |
| private boolean |
| Access | Constructor and Description |
|---|---|
| public | LazySearchEnumerationImpl(NamingEnumeration<Binding> candidates, AttrFilter filter, SearchControls cons)
|
| public | LazySearchEnumerationImpl(NamingEnumeration<Binding> candidates, AttrFilter filter, SearchControls cons, Context ctx, Hashtable<String, Object> env, boolean useFactory)
|
| public | LazySearchEnumerationImpl(NamingEnumeration<Binding> candidates, AttrFilter filter, SearchControls cons, Context ctx, Hashtable<String, Object> env)
|
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| private SearchResult | |
| 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 SearchResult | next()
Implements javax. Retrieves the next element in the enumeration. |
| public SearchResult | nextElement()
Implements java. Returns the next element of this enumeration if this enumeration object has at least one more element to provide. |
| candidates | back to summary |
|---|---|
| private NamingEnumeration<Binding> candidates | |
| cons | back to summary |
|---|---|
| private SearchControls cons | |
| context | back to summary |
|---|---|
| private Context context | |
| env | back to summary |
|---|---|
| private Hashtable<String, Object> env | |
| filter | back to summary |
|---|---|
| private AttrFilter filter | |
| nextMatch | back to summary |
|---|---|
| private SearchResult nextMatch | |
| useFactory | back to summary |
|---|---|
| private boolean useFactory | |
| LazySearchEnumerationImpl | back to summary |
|---|---|
| public LazySearchEnumerationImpl(NamingEnumeration<Binding> candidates, AttrFilter filter, SearchControls cons) throws NamingException | |
| LazySearchEnumerationImpl | back to summary |
|---|---|
public LazySearchEnumerationImpl(NamingEnumeration<Binding> candidates, AttrFilter filter, SearchControls cons, Context ctx, Hashtable<String, Object> env, boolean useFactory) throws NamingException
| |
| LazySearchEnumerationImpl | back to summary |
|---|---|
| public LazySearchEnumerationImpl(NamingEnumeration<Binding> candidates, AttrFilter filter, SearchControls cons, Context ctx, Hashtable<String, Object> env) throws NamingException | |
| close | back to summary |
|---|---|
| public void close() throws NamingException 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
| |
| findNextMatch | back to summary |
|---|---|
| private SearchResult findNextMatch(boolean remove) throws NamingException | |
| hasMore | back to summary |
|---|---|
| public boolean hasMore() throws NamingException 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 SearchResult 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 SearchResult 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. | |