I've noticed that both DefinitionsFactory and ComponentDefinitions are both too (IMHO) tightly bound to the Locale. What I mean is that maybe using Locale class to distinguish between different sets of definitions is not a good idea. From my point of view, I think that where you are using Locale maybe it should be used a simple Object.
This way you leave to the implementation what's the use of that "Locale"
In the Struts-Tiles version there is the concept of "key" in the FactorySet.createDefinitionsFactory, that is a simple Object. I use it to do my own way to localize definitions. In other words, don't you think that "Locale" in those interfaces should be Objects?
Ciao
Antonio


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to