Part of lp.services.database.interfaces View In Hierarchy
The publisher adapts the request to IDatabasePolicy to
instantiate the policy for the current request.
| Method | __enter__ | Standard Python context manager interface. |
| Method | __exit__ | Standard Python context manager interface. |
| Method | getStore | Retrieve a Store. |
| Method | install | Hook called when policy is pushed onto the IStoreSelector. |
| Method | uninstall | Hook called when policy is popped from the IStoreSelector. |
The IDatabasePolicy will install itself using the IStoreSelector utility.
The IDatabasePolicy will uninstall itself using the IStoreSelector utility.