Nico Klasens wrote:
Modified Files:
Tag: MMBase-1_8
Module.java
Log Message:
Added initParameter loading from application context
There is no clear javadoc to describe hat ApplicationContextReader does,
so I had to delve a bit in the code to figure out what this does. I'm
not sure how you exactly use it (or why you wouldn't change the modules)
- maybe it has to do with loadbalancing?
Some documentation is needed, I think.
At any rate, I wonder if it is necessary to explicitly call this method
from every individual module's init method.
It would be easier if we use a standard directory path (i.e.
mmbase/<modulename>", and then let the Module class call it from the
loadModulesFromDisk method (right after it loads properties from the xml).
Then it would apply to all modules without the need for extra coding,
and you do not risk accidentally using the wrong property.
--
Pierre van Rooden
Mediapark, C 107 tel. +31 (0)35 6772815
"Hard work may pay off in the long run, but laziness always pays off
right now."
_______________________________________________
Developers mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/developers