public function unregister($key, $name)
    {
        if (empty($key) || empty($name)) {
            throw new \common_Exception();
        }

        if (is_object($name)) {
            $name = get_class($name);
        }

        switch ($key) {
            case self::EXTRACTOR_KEY:
                $this->unregisterInstance(self::EXTRACTOR_KEY, $name);
                break;
            case self::INJECTOR_KEY:
                $this->unregisterInstance(self::INJECTOR_KEY, $name);
                break;
        }
        return;
    }