[opencms-dev] Module Action class updateModule method
Achim Westermann
a.westermann at alkacon.com
Tue Nov 8 09:01:33 CET 2005
Hi Joachim,
the module handler class ships within your module, most often in a jar. Before an import it is not known to the JVM running.
It will be highly depnendant on the caching of the application server's current Classloader wether dynamic class loading (class.forName("name"))") will be
successful or not. Only by implementing a non - caching CL for module initialization after import this could be possible - expensive though.
kind regards,
Achim
Achim Westermann
-------------------
Alkacon Software
http://www.alkacon.com
Joachim Arrasz wrote:
> Hi,
>
>> My problem with the action class is that the its initialize(..) method
>> is NOT called, when the module is imported into opencms, but only on a
>> previously imported module on server startup. This is kind of strange
>> to me!
>
>
> the init method is an init method for server startup, to check if there
> are alle needed resources for this module available. We spoke some month
> ago with alkacon and discussed your issue with them but they haven't
> changed this behaviour. In my opinion there must be a possibility to run
> a method after installing and at each server startup. So we're able to
> create some needed things directly after installing this module.
>
> Any hints ?
>
> Regards Achim
>
>
> _______________________________________________
> This mail is send to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://mail.opencms.org/mailman/listinfo/opencms-dev
More information about the opencms-dev
mailing list