public function persist(NodeInterface $datasourceNode)
    {
        $systemConfiguration = $this->getSystemConfiguration();
        $systemConfiguration->attachDatasource($datasourceNode);
        $this->setSystemConfiguration($systemConfiguration);
    }
public function persist(NodeInterface $datasourceNode)
    {
        $systemConfiguration = $this->getSystemConfiguration();
        $systemConfiguration->attachDatasource($datasourceNode);
        $this->setSystemConfiguration($systemConfiguration);
    }
public function persist ( NodeInterface $ datasourceNode ) { $ systemConfiguration = $ this -> getSystemConfiguration ( ) ; $ systemConfiguration -> attachDatasource ( $ datasourceNode ) ; $ this -> setSystemConfiguration ( $ systemConfiguration ) ; }
Persists the passed datasource.

@param \AppserverIo\Configuration\Interfaces\NodeInterface $datasourceNode The datasource to persist

@return void
Persists the passed datasource .