| |
|
| com.jeta.open.support.ComponentFinder
All known Subclasses: com.jeta.open.support.DefaultComponentFinder, com.jeta.open.support.CompositeComponentFinder,
ComponentFinder | public interface ComponentFinder (Code) | | Interface used to define a service for locating child components within a
container that have a given name. Specialized implementations of this
interface are responsible for managing the parent container assocation.
author: Jeff Tassin |
Method Summary | |
public Collection | getAllNamedComponents() Recursively searches an associated parent container for all components
that are named. | public Component | getComponentByName(String compName) Recursively searches an associated parent container for a component with
the given name. | public Collection | getComponentsByName(String compName) Recursively searches an associated parent container for all components
with the given name. | public void | reset() Tells the implementation that any cached components should be flushed and
reloaded because the parent container might have changed. |
getAllNamedComponents | public Collection getAllNamedComponents()(Code) | | Recursively searches an associated parent container for all components
that are named. An empty collection is returned if no names components
exist.
a collection of all named Component objects. |
getComponentByName | public Component getComponentByName(String compName)(Code) | | Recursively searches an associated parent container for a component with
the given name. The first component found that has the name is returned.
Null is returned if no component is found.
|
getComponentsByName | public Collection getComponentsByName(String compName)(Code) | | Recursively searches an associated parent container for all components
with the given name. An empty collection is returned if no components are
found with the given name.
a collection of Component objects that have the given name. |
reset | public void reset()(Code) | | Tells the implementation that any cached components should be flushed and
reloaded because the parent container might have changed.
|
|
|
|