PHP 클래스 AppserverIo\Appserver\Core\Api\DatasourceService

상속: extends AbstractService
파일 보기 프로젝트 열기: appserver-io/appserver 1 사용 예제들

공개 메소드들

메소드 설명
findAll ( ) : array<\AppserverIo\Appserver\Core\Api\Node\DatasourceNode> Returns all deployed applications.
findAllByName ( string $name ) : array Returns an array with the datasources with the passed name.
findByName ( string $name ) : DatasourceNode Returns the datasource with the passed name.
load ( string $uuid ) : DatasourceNode Returns the datasource with the passed UUID.
persist ( AppserverIo\Configuration\Interfaces\NodeInterface $datasourceNode ) : void Persists the passed datasource.

메소드 상세

findAll() 공개 메소드

Returns all deployed applications.
또한 보기: AppserverIo\Appserver\Core\Api\ServiceInterface::findAll()
public findAll ( ) : array<\AppserverIo\Appserver\Core\Api\Node\DatasourceNode>
리턴 array<\AppserverIo\Appserver\Core\Api\Node\DatasourceNode>

findAllByName() 공개 메소드

Returns an array with the datasources with the passed name.
public findAllByName ( string $name ) : array
$name string Name of the datasource to return
리턴 array The datasources with the name passed as parameter

findByName() 공개 메소드

Returns the datasource with the passed name.
public findByName ( string $name ) : DatasourceNode
$name string Name of the datasource to return
리턴 AppserverIo\Appserver\Core\Api\Node\DatasourceNode The datasource with the name passed as parameter

load() 공개 메소드

Returns the datasource with the passed UUID.
또한 보기: AppserverIo\Appserver\Core\Api\ServiceInterface::load()
public load ( string $uuid ) : DatasourceNode
$uuid string UUID of the datasource to return
리턴 AppserverIo\Appserver\Core\Api\Node\DatasourceNode The datasource with the UUID passed as parameter

persist() 공개 메소드

Persists the passed datasource.
public persist ( AppserverIo\Configuration\Interfaces\NodeInterface $datasourceNode ) : void
$datasourceNode AppserverIo\Configuration\Interfaces\NodeInterface The datasource to persist
리턴 void