replacing custom springlike framework
I wrote my own kind of springish framework, and there's one thing it does that I haven't found a way to do in spring. Basically I want to reload a single bean on demand.
My current frameworks works like:
Loader servlet runs first, and creates and loads Engines into the servlet context.
Servlets come along and register the Engines into a Context Bus.
These Engines are executed in order, passing a custom context object between them.
Servlet exits.
Now at any time, we can reload on demand a particular Engine, such as, say,
the TemplateEngine, which contains templates. We can edit templates, then in a script create a new TemplateSystem which the TemplateEngine loads when it comes alive. Then on the next hit, the Servlets immediately see the new templates, and the old TemplateEngine passes out of existence.
Is there a way to tell Spring "hey, go make me a new TemplateEngine!"?
aash
this isn't what Refreshable does
Oh well, the search continues! :)
aash