# File lib/reactor/container.rb, line 58 def initialize(handlers, options = {}) super(handlers, options) # only do the following if we're creating a new instance if !options.has_key?(:impl) @ssl = SSLConfig.new if options[:global_handler] self.global_handler = GlobalOverrides.new(options[:global_handler]) else # very ugly, but using self.global_handler doesn't work in the constructor ghandler = Reactor.instance_method(:global_handler).bind(self).call ghandler = GlobalOverrides.new(ghandler) Reactor.instance_method(:global_handler=).bind(self).call(ghandler) end @trigger = nil @container_id = generate_uuid end end