Method | Description | |
---|---|---|
findAll ( ) : array | Returns all deployment configurations. | |
load ( integer $uuid ) : |
Returns the deployment with the passed UUID. | |
loadContainerInstance ( AppserverIo\Appserver\Core\Api\Node\ContainerNodeInterface $containerNode, AppserverIo\Appserver\Core\Interfaces\SystemConfigurationInterface $systemConfiguration, string $webappPath ) : void | Loads the container instances from the META-INF/containers.xml configuration file of the passed web application path and add/merge them to/with the system configuration. | |
loadContainerInstances ( ) : AppserverIo\Appserver\Core\Interfaces\SystemConfigurationInterface | Loads the containers, defined by the applications, merges them into the system configuration and returns the merged system configuration. | |
loadContextInstance ( AppserverIo\Appserver\Core\Api\Node\ContainerNodeInterface $containerNode, string $webappPath ) : |
Initializes the context instance for the passed webapp path. | |
loadContextInstancesByContainer ( AppserverIo\Appserver\Core\Interfaces\ContainerInterface $container ) : |
Initializes the available application contexts and returns them. |
Method | Description | |
---|---|---|
prepareSystemProperties ( AppserverIo\Properties\PropertiesInterface $properties, string $webappPath ) : void | Prepares the system properties for the actual mode. |
public loadContainerInstance ( AppserverIo\Appserver\Core\Api\Node\ContainerNodeInterface $containerNode, AppserverIo\Appserver\Core\Interfaces\SystemConfigurationInterface $systemConfiguration, string $webappPath ) : void | ||
$containerNode | AppserverIo\Appserver\Core\Api\Node\ContainerNodeInterface | The container node used for property replacement |
$systemConfiguration | AppserverIo\Appserver\Core\Interfaces\SystemConfigurationInterface | The system configuration to add/merge the found containers to/with |
$webappPath | string | The path to the web application to search for a META-INF/containers.xml file |
return | void |
public loadContainerInstances ( ) : AppserverIo\Appserver\Core\Interfaces\SystemConfigurationInterface | ||
return | AppserverIo\Appserver\Core\Interfaces\SystemConfigurationInterface | The merged system configuration |
public loadContextInstance ( AppserverIo\Appserver\Core\Api\Node\ContainerNodeInterface $containerNode, string $webappPath ) : |
||
$containerNode | AppserverIo\Appserver\Core\Api\Node\ContainerNodeInterface | The container to load the context for |
$webappPath | string | The path to the web application |
return | The initialized context instance |
public loadContextInstancesByContainer ( AppserverIo\Appserver\Core\Interfaces\ContainerInterface $container ) : |
||
$container | AppserverIo\Appserver\Core\Interfaces\ContainerInterface | The container we want to add the applications to |
return | The array with the application contexts |
protected prepareSystemProperties ( AppserverIo\Properties\PropertiesInterface $properties, string $webappPath ) : void | ||
$properties | AppserverIo\Properties\PropertiesInterface | The properties to prepare |
$webappPath | string | The path of the web application to prepare the properties with |
return | void |