Make ZStorm accessible as non-global object

Bug #887514 reported by Free Ekanayaka on 2011-11-08
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Free Ekanayaka

Bug Description

Currently the standard way to access a ZStorm instance from a Storm object is to call queryUtility(IZStorm), which will essentially return a global variable.

This can be a problem for applications needing to have more than one ZStorm object, for example a wsgi application that composes two other wsgi applications that have different models.

It also helps with unit-testing in case one wants to run them in parallel in the same process.

Related branches

Changed in storm:
status: New → In Progress
importance: Undecided → Medium
assignee: nobody → Free Ekanayaka (free.ekanayaka)
milestone: none → 0.20
Changed in storm:
milestone: 0.20 → 0.21
Colin Watson (cjwatson) on 2019-09-20
Changed in storm:
milestone: 0.21 → 0.22
Colin Watson (cjwatson) on 2019-11-21
Changed in storm:
milestone: 0.22 → none
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers