PHP Класс AppserverIo\Appserver\Provisioning\AbstractProvisioner

Автор: Tim Wagner ([email protected])
Наследование: implements AppserverIo\Psr\Application\ProvisionerInterface
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$initialContext AppserverIo\Appserver\Application\Interfaces\ContextInterface The initial context instance.
$provisionerNode AppserverIo\Appserver\Core\Api\Node\ProvisionerNodeInterface The provisioner node configuration data.
$service AppserverIo\Appserver\Core\Api\ServiceInterface The provisioning service instance.

Открытые методы

Метод Описание
__construct ( AppserverIo\Appserver\Application\Interfaces\ContextInterface $initialContext, AppserverIo\Appserver\Core\Api\Node\ProvisionerNodeInterface $provisionerNode ) Contructor to initialize the provisioner instance with the initial context and the provision node configuration data.
getInitialContext ( ) : AppserverIo\Appserver\Application\Interfaces\ContextInterface Returns the inital context instance.
getProvisionerNode ( ) : AppserverIo\Appserver\Core\Api\Node\ProvisionerNodeInterface Returns the provisioner node configuration data.
getService ( ) : AppserverIo\Appserver\Core\Api\ProvisioningService Returns the service instance to use.
newService ( string $className ) : AppserverIo\Appserver\Core\Api\ServiceInterface (non-PHPdoc)

Описание методов

__construct() публичный Метод

Contructor to initialize the provisioner instance with the initial context and the provision node configuration data.
public __construct ( AppserverIo\Appserver\Application\Interfaces\ContextInterface $initialContext, AppserverIo\Appserver\Core\Api\Node\ProvisionerNodeInterface $provisionerNode )
$initialContext AppserverIo\Appserver\Application\Interfaces\ContextInterface The initial context instance
$provisionerNode AppserverIo\Appserver\Core\Api\Node\ProvisionerNodeInterface The provisioner node configuration data

getInitialContext() публичный Метод

Returns the inital context instance.
public getInitialContext ( ) : AppserverIo\Appserver\Application\Interfaces\ContextInterface
Результат AppserverIo\Appserver\Application\Interfaces\ContextInterface The initial context instance

getProvisionerNode() публичный Метод

Returns the provisioner node configuration data.
public getProvisionerNode ( ) : AppserverIo\Appserver\Core\Api\Node\ProvisionerNodeInterface
Результат AppserverIo\Appserver\Core\Api\Node\ProvisionerNodeInterface The provisioner node configuration data

getService() публичный Метод

Returns the service instance to use.
public getService ( ) : AppserverIo\Appserver\Core\Api\ProvisioningService
Результат AppserverIo\Appserver\Core\Api\ProvisioningService $service The service to use

newService() публичный Метод

(non-PHPdoc)
См. также: AppserverIo\Appserver\Core\InitialContext::newService()
public newService ( string $className ) : AppserverIo\Appserver\Core\Api\ServiceInterface
$className string The API service class name to return the instance for
Результат AppserverIo\Appserver\Core\Api\ServiceInterface The service instance

Описание свойств

$initialContext защищенное свойство

The initial context instance.
protected ContextInterface,AppserverIo\Appserver\Application\Interfaces $initialContext
Результат AppserverIo\Appserver\Application\Interfaces\ContextInterface

$provisionerNode защищенное свойство

The provisioner node configuration data.
protected ProvisionerNodeInterface,AppserverIo\Appserver\Core\Api\Node $provisionerNode
Результат AppserverIo\Appserver\Core\Api\Node\ProvisionerNodeInterface

$service защищенное свойство

The provisioning service instance.
protected ServiceInterface,AppserverIo\Appserver\Core\Api $service
Результат AppserverIo\Appserver\Core\Api\ServiceInterface