public function addClassListeners($instance)
    {
        if (!$this->driver) {
            throw Exception::noDriver();
        }
        
        foreach ($this->driver->getListenersForClass($instance) as $listener) {
            $this->addListener($listener['event'], array($instance, $listener['method']));
        }
    }