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

상속: extends AppserverIo\Appserver\Core\Api\AbstractFileOperationService
파일 보기 프로젝트 열기: appserver-io/appserver 1 사용 예제들

공개 메소드들

메소드 설명
createSslCertificate ( SplFileInfo $certificate ) : void Creates the SSL file passed as parameter or nothing if the file already exists.
findAll ( ) : array Return's all container node configurations.
getAppBase ( string $uuid ) : string Returns the application base directory for the container with the passed UUID.
getIsInstalledFlag ( ) : SplFileInfo Return's the install flag information from the configuration directory.
load ( string $uuid ) : ContainerNode Returns the container for the passed UUID.
prepareFileSystem ( ) : void Prepares filesystem to be sure that everything is on place as expected
switchSetupMode ( string $newMode, string $configurationFilename, string $user ) : void Switches the setup mode to the passed value.

보호된 메소드들

메소드 설명
isOpenSslAvailable ( ) : boolean Returns true if the OpenSSL extension is loaded, false otherwise

메소드 상세

createSslCertificate() 공개 메소드

Creates the SSL file passed as parameter or nothing if the file already exists.
public createSslCertificate ( SplFileInfo $certificate ) : void
$certificate SplFileInfo The file info about the SSL file to generate
리턴 void

findAll() 공개 메소드

Return's all container node configurations.
또한 보기: AppserverIo\Appserver\Core\Api\ServiceInterface::findAll()
public findAll ( ) : array
리턴 array An array with container node configurations

getAppBase() 공개 메소드

Returns the application base directory for the container with the passed UUID.
public getAppBase ( string $uuid ) : string
$uuid string UUID of the container to return the application base directory for
리턴 string The application base directory for this container

getIsInstalledFlag() 공개 메소드

Return's the install flag information from the configuration directory.
public getIsInstalledFlag ( ) : SplFileInfo
리턴 SplFileInfo The install flag information

isOpenSslAvailable() 보호된 메소드

Returns true if the OpenSSL extension is loaded, false otherwise
protected isOpenSslAvailable ( ) : boolean
리턴 boolean

load() 공개 메소드

Returns the container for the passed UUID.
public load ( string $uuid ) : ContainerNode
$uuid string Unique UUID of the container to return
리턴 AppserverIo\Appserver\Core\Api\Node\ContainerNode The container with the UUID passed as parameter

prepareFileSystem() 공개 메소드

Prepares filesystem to be sure that everything is on place as expected
public prepareFileSystem ( ) : void
리턴 void

switchSetupMode() 공개 메소드

Switches the setup mode to the passed value.
public switchSetupMode ( string $newMode, string $configurationFilename, string $user ) : void
$newMode string The mode to switch to
$configurationFilename string The path of the configuration filename
$user string The name of the user who started the application server
리턴 void