|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
T
- The type of object for which this locator applies.public interface AdministrableLocator<T extends java.lang.Object & Administrable>
A locator for Objects that implement the Administrable
interface.
The locator provides services to get outbound HTTP connection configuration elements.
Method Summary | |
---|---|
void |
collectAllMatching(PatternMatcher<T> matcher,
java.util.List<T> collection)
Create a sorted list of administrable objects that match with the given matching criteria. |
T |
findByName(java.lang.String name)
locates and returns a config object via its name |
IterableListModel<T> |
listAll()
Returns a list model for all configuration elements that are reachable by this locator object. |
Method Detail |
---|
T findByName(java.lang.String name)
name
- The name of the item that should be returned.
Administrable
object that has the specified name and that is reachable by this locator object. null if the object could not be found.IterableListModel<T> listAll()
Administrable
objects that are accessible by this locator. never null.void collectAllMatching(PatternMatcher<T> matcher, java.util.List<T> collection)
listAll()
to get all possible items that.
are in the scope of this locator instance. For each of the candidates and all elements that are already in the
collection
list, the presented PatternMatcher is invoked. The matcher
returns an integer value that determines
matcher
- the pattern matcher.A
- list of objects. The presented PatternMatcher object is invoked against all
best-matching object is on top of the list.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |