On Thu, Sep 15, 2011 at 8:51 PM, Martin Grigorov <[email protected]>wrote:
> Sorry, I went a bit far. > You need to re-call just #init() without #internalInit(), so > #internalDestroy() is not really needed. > > Usually #init() mounts the pages and configures different IXyzSettings > but it can contain any user specific code so I think it is not that > safe to be re-called. > > Even with @Mount someone have to re-run the scanner and if the impl is > the same as it is now the registry with mappers will be doubled. > > I see no way to archive what you need at the moment. > Thanks a lot for your answers! : ) Trying to support @Mount is probably our way to go here, if we want to enhance our wicket support. Re-calling init() sounds very unsafe and this is probably unacceptable, but patching various resource scanners is something we have done for numerous frameworks already, this should be feasible if the need for this functionality seems to be high enough. Thanks! -- Sander Sõnajalg
