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

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

공개 메소드들

메소드 설명
findAll ( ) : array Returns all deployment configurations.
load ( integer $uuid ) : DeploymentNode 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 ) : ContextNode Initializes the context instance for the passed webapp path.
loadContextInstancesByContainer ( AppserverIo\Appserver\Core\Interfaces\ContainerInterface $container ) : ContextNode[] Initializes the available application contexts and returns them.

보호된 메소드들

메소드 설명
prepareSystemProperties ( AppserverIo\Properties\PropertiesInterface $properties, string $webappPath ) : void Prepares the system properties for the actual mode.

메소드 상세

findAll() 공개 메소드

Returns all deployment configurations.
또한 보기: AppserverIo\Appserver\Core\Api\ServiceInterface::findAll()
public findAll ( ) : array
리턴 array An array with all deployment configurations

load() 공개 메소드

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

loadContainerInstance() 공개 메소드

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.
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
리턴 void

loadContainerInstances() 공개 메소드

Loads the containers, defined by the applications, merges them into the system configuration and returns the merged system configuration.
public loadContainerInstances ( ) : AppserverIo\Appserver\Core\Interfaces\SystemConfigurationInterface
리턴 AppserverIo\Appserver\Core\Interfaces\SystemConfigurationInterface The merged system configuration

loadContextInstance() 공개 메소드

Initializes the context instance for the passed webapp path.
public loadContextInstance ( AppserverIo\Appserver\Core\Api\Node\ContainerNodeInterface $containerNode, string $webappPath ) : ContextNode
$containerNode AppserverIo\Appserver\Core\Api\Node\ContainerNodeInterface The container to load the context for
$webappPath string The path to the web application
리턴 AppserverIo\Appserver\Core\Api\Node\ContextNode The initialized context instance

loadContextInstancesByContainer() 공개 메소드

Initializes the available application contexts and returns them.
public loadContextInstancesByContainer ( AppserverIo\Appserver\Core\Interfaces\ContainerInterface $container ) : ContextNode[]
$container AppserverIo\Appserver\Core\Interfaces\ContainerInterface The container we want to add the applications to
리턴 AppserverIo\Appserver\Core\Api\Node\ContextNode[] The array with the application contexts

prepareSystemProperties() 보호된 메소드

Prepares the system properties for the actual mode.
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
리턴 void