public function registerApplication(INabuApplication $nb_application)
    {
        if ($this->nb_application !== null) {
            throw new ENabuCoreException(ENabuCoreException::ERROR_RUNNING_APPLICATION);
        }

        $this->nb_application = $nb_application;
        $this->nb_provider_factory->registerApplication($this->nb_application);
    }