On Jul 28, 2005, at 11:51 AM, David Geary wrote:
I'll try to take a look next week to see what it'd take, but in the
meantime if
someone implements it out from under me, I won't feel bad. 8-)
It looks like everything needed to load a DefinitionsFactory is
available in DefinitionsUtil. Right now it's only being called from
the TilesServlet init() method.
The questions are:
1) How to trigger a reload()? Via a request to the servlet or some
kind of API call, or a process that is "watching" the config files.
Could maybe work like JSP, when you ask for a definition, the factory
will look to see if it has changed.
2) How to ensure the existing configuration can still be "used" while
the new one is being loaded? Is there any way to do this without
synchronization?
3) Should the enable/disable feature be through a context parameter or
some other method?
Greg
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]