On Sun, 10 Oct 2004 22:34:59 +1300, leon breedt <bitserf / gmail.com> wrote:
> contrived pseudocode example:
> 
> env = { :log_filename => 'test.log' }
> container.register(:log_filename) { env[:log_filename] }
> container.register(:logger) { |c| Logger.new(c.log_filename) }
i am aware that there will have to be a link between env and container
to ensure that the dirty flag will be set, first of all, and set on
the correct service, secondly :)

possibly env would be a special service instead of floating Hash, and
access to env would happen through an interceptor gatekeeper...

leon