    # File lib/chef/run_context.rb, line 47
        def initialize(node, cookbook_collection, events)
          @node = node
          @cookbook_collection = cookbook_collection
          @resource_collection = Chef::ResourceCollection.new
          @immediate_notification_collection = Hash.new {|h,k| h[k] = []}
          @delayed_notification_collection = Hash.new {|h,k| h[k] = []}
          @definitions = Hash.new
          @events = events

          # TODO: 5/18/2010 cw/timh - See note on Chef::Node's
          # cookbook_collection attr_accessor
          node.cookbook_collection = cookbook_collection
        end