Re: ajax and rundata disposal
Thomas Vandahl <[email protected]> Wed, 02 Dec 2009 18:48:25 +0100
| Newsgroups | gmane.comp.jakarta.turbine.user |
|---|---|
| Message-ID | <[email protected]> |
Christian Kaiser wrote: > I can prevent from this, when I set the tool in a request scope. Yes, this is the way to do it. > That means the refresh method of the RunDataApplicationTool is not > called, but the Rundata is passed to the Tool with the init method. The refresh()-method call can be forced by setting services.PullService.tools.per.request.refresh=true The comment in the original TurbineResources.properties file is like this (which explains it all) ---8<--- # This determines whether the non-request tools are refreshed # on each request (request tools aren't ever, because they're # instantiated for the request only anyway). services.PullService.tools.per.request.refresh=true ---8<--- I do not recommend this for production use, however. Bye, Thomas.