On 09/15/2011 08:40 PM, Sander Sõnajalg wrote:
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
<snip/>
Another thought: Is there any chance to make the call of init()
configurable for JRebel user? E.g. via a system property.
--
Reinhard Pötz Founder & Managing Director, Indoqa and Deepsearch
http://www.indoqa.com/people/reinhard-poetz.html
Member of the Apache Software Foundation
Apache Cocoon Committer, PMC member [email protected]
________________________________________________________________________
Furthermore, I think Oracle has to honor the JSPA agreement.
http://s.apache.org/JCPIsDead http://s.apache.org/tck-trap