public function load($uuid)
    {
        foreach ($this->findAll() as $datasourceNode) {
            if ($datasourceNode->getPrimaryKey() == $uuid) {
                return $datasourceNode;
            }
        }
    }
public function load($uuid)
    {
        foreach ($this->findAll() as $datasourceNode) {
            if ($datasourceNode->getPrimaryKey() == $uuid) {
                return $datasourceNode;
            }
        }
    }
public function load ( $ uuid ) { foreach ( $ this -> findAll ( ) as $ datasourceNode ) { if ( $ datasourceNode -> getPrimaryKey ( ) == $ uuid ) { return $ datasourceNode ; } } }
Returns the datasource with the passed UUID.

@param string $uuid UUID of the datasource to return

@return \AppserverIo\Psr\ApplicationServer\Configuration\DatasourceConfigurationInterface The datasource with the UUID passed as parameter
@see \AppserverIo\Psr\ApplicationServer\ServiceInterface::load()
Returns the datasource with the passed UUID .