public function initResourceByPath($path)
    {
        $parsed = parse_url($path);

        if ($parsed === false) {
            return false;
        }
        $this->currentPath = $path;

        if (isset($parsed['host'])) {
            $this->containerName = $parsed['host'];
        }
        if (isset($parsed['path'])) {
            $this->resourceName = $this->cleanName($parsed['path']);
        }
        return $this;
    }