Open issues

Provide a way to clear scopes or a mapping from a scope

Description

Let's say a user wants to clear out the session user when they reinit their app so it picks up code changes. Right now the singleton scope is the only scope that can be cleared. Add a clear() method to the IScope interface and each scope implementation that accepts a mappingID and clears that mapping from scope.

Another method to clear all objects from scope would be nice, but I don't think the current scope implementations would allow for that since you'd not know what items in the scope were WireBox instances.

Status

Assignee

Luis Majano

Reporter

Brad Wood

Labels

None

Components

Priority

Major