| 
 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.jaffa.tools.patternmetaengine.ComponentRegistry
This class holds all the generated components (ie their builders). It is used to keep a registry of all components across the multiple phases of the build. It also provides some convienance methods for accessing components from the repository
| Constructor Summary | |
| ComponentRegistry() | |
| Method Summary | |
|  void | addComponent(IBuilder comp)Add a new component (IBuilder) to the registry | 
|  IBuilder | findComponent(String domain,
                           String type)Find a given component. | 
|  Iterator | iterateByDomain(String domain)Iterator for all components in registry for a given domain object | 
|  Iterator | iterateByType(String type)Iterator for all components in registry of a given type | 
|  Iterator | iterator()Iterator for all components in registry | 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
public ComponentRegistry()
| Method Detail | 
public void addComponent(IBuilder comp)
comp - New component to be addedpublic Iterator iterator()
public Iterator iterateByType(String type)
type - Type of component (Finder, Viewer, etc)
public Iterator iterateByDomain(String domain)
domain - full class name (including package) of domain object
public IBuilder findComponent(String domain,
                              String type)
domain - full class name (including package) of domain objecttype - Type of component (Finder, Viewer, etc)
| 
 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||