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.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to