On Nov 6, 2006, at 7:07 AM, David H. DeWolf wrote:
Here is what I envision:
1) DefinitionsReader - parse an input stream into a map of
definitions.
2) DefinitionsFactory - manage the creation of definitions.
instantiate the appropriate readers, manage refreshes.
3 DefinitionsManager - cache definitions, resolve dependencies,
manage localization.
This allows us to pull the caching of definitions outsite the
factory and releave it of that responsibility. By doing so, it's
only responsible for the creation/management of definitions which
it creates in the firstplace, and the manager is responsible for
pulling all of the definitions together into a single location.
I like this approach. I think it cleans up the interface and makes
responsibilities more cohesive.
Greg
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]