public function setResultStore(array $options)
    {
        if (!isset($options['type'])) {
            return $this;
        }
        
        $namespace = self::RHUBARB_RESULTSTORE_NAMESPACE;
        if (isset($options['class_namespace'])&& $options['class_namespace']) {
            $namespace = $options['class_namespace'];
        }
        
        $namespace = rtrim($namespace,self::NS_SEPERATOR);
        $resultStoreClass = $namespace . self::NS_SEPERATOR . $options['type'];
        if (!class_exists($resultStoreClass)) {
            throw new Exception(
                sprintf('ResultStore class [%s] unknown', $resultStoreClass)
            );
        }
        
        $reflect = new \ReflectionClass($resultStoreClass);
        $this->resultBroker = $reflect->newInstanceArgs(array((array)@$options['options']));
        return $this;
    }