PHP Class AppserverIo\Appserver\Core\GenericDeployment

Author: Tim Wagner ([email protected])
Author: Bernhard Wick ([email protected])
Author: Hans Höchtl ([email protected])
Inheritance: extends AppserverIo\Appserver\Core\AbstractDeployment
Afficher le fichier Open project: appserver-io/appserver

Méthodes publiques

Méthode Description
deploy ( ) : void Initializes the available applications and adds them to the container.

Méthodes protégées

Méthode Description
deployApplications ( ) : void Deploys the available applications.
deployDatasources ( ) : void Deploys the available root directory datasources.
getAppBase ( ) : string Returns the container's directory with applications to be deployed.
getDatasourceFiles ( ) : array Returns all datasource files we potentially use
loadContextInstances ( ) : ContextNode[] Loads and return's the context instances for the container.
prepareDatasourceFiles ( array $datasourceFiles ) : array Prepares the datasource files by adding the found context name and the webapp path, if available.

Method Details

deploy() public méthode

Initializes the available applications and adds them to the container.
See also: AppserverIo\Psr\Deployment\DeploymentInterface::deploy()
public deploy ( ) : void
Résultat void

deployApplications() protected méthode

Deploys the available applications.
protected deployApplications ( ) : void
Résultat void

deployDatasources() protected méthode

Deploys the available root directory datasources.
protected deployDatasources ( ) : void
Résultat void

getAppBase() protected méthode

Returns the container's directory with applications to be deployed.
protected getAppBase ( ) : string
Résultat string The container's application base directory

getDatasourceFiles() protected méthode

Returns all datasource files we potentially use
protected getDatasourceFiles ( ) : array
Résultat array

loadContextInstances() protected méthode

Loads and return's the context instances for the container.
protected loadContextInstances ( ) : ContextNode[]
Résultat AppserverIo\Appserver\Core\Api\Node\ContextNode[] The array with the container's context instances

prepareDatasourceFiles() protected méthode

Prepares the datasource files by adding the found context name and the webapp path, if available.
protected prepareDatasourceFiles ( array $datasourceFiles ) : array
$datasourceFiles array The array with the datasource files to prepare
Résultat array The prepared array