PHP Класс AppserverIo\Appserver\Core\Api\Node\ContainerNode

Автор: Tim Wagner ([email protected])
Автор: Johann Zelger ([email protected])
Наследование: extends AppserverIo\Description\Api\Node\AbstractNode, implements AppserverIo\Appserver\Core\Api\Node\ContainerNodeInterface, use trait AppserverIo\Appserver\Core\Api\Node\ClassLoadersNodeTrait
Показать файл Открыть проект Примеры использования класса

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

Свойство Тип Описание
$deployment DeploymentNode The deployment configuration information.
$description DescriptionNode Container description
$factory string The container's factory class name.
$host HostNode The host configuration information.
$name string The container's name.
$provisioning boolean En-/Disables application application provisioning.
$receiver ReceiverNode The receiver used to start the container's socket.
$servers array The servers used in container
$threadType string The thread class name that start's the container.
$type string The container's class name.
$upstreams array The upstreams used in container

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

Метод Описание
attachServer ( AppserverIo\Appserver\Core\Api\Node\ServerNodeInterface $server ) : void Attaches the passed server node.
getDeployment ( ) : DeploymentNode Returns the deployment configuration information.
getDescription ( ) : DescriptionNode Returns the receiver description.
getFactory ( ) : string Returns the container's factory class name.
getHost ( ) : HostNode Returns the host configuration information.
getName ( ) : string Returns the unique container name.
getProvisioning ( ) : boolean Returns TRUE if application provisioning for the container is enabled, else FALSE.
getServer ( string $name ) : AppserverIo\Appserver\Core\Api\Node\ServerNodeInterface Returns the server with the passed name.
getServers ( ) : array Return's all server nodes
getServersAsArray ( ) : array Returns the servers as array with the server name as key.
getThreadType ( ) : string Returns the thread class name that start's the containere.
getType ( ) : string Returns the container's class name.
getUpstreams ( ) : array Return's all upstream nodes
merge ( AppserverIo\Appserver\Core\Api\Node\ContainerNodeInterface $containerNode ) : void This method merges the passed container node into this one.

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

attachServer() публичный метод

Attaches the passed server node.
public attachServer ( AppserverIo\Appserver\Core\Api\Node\ServerNodeInterface $server ) : void
$server AppserverIo\Appserver\Core\Api\Node\ServerNodeInterface The server node to attach
Результат void

getDeployment() публичный метод

Returns the deployment configuration information.
public getDeployment ( ) : DeploymentNode
Результат DeploymentNode The deployment configuration information

getDescription() публичный метод

Returns the receiver description.
public getDescription ( ) : DescriptionNode
Результат DescriptionNode The receiver description

getFactory() публичный метод

Returns the container's factory class name.
public getFactory ( ) : string
Результат string The container's factory class name

getHost() публичный метод

Returns the host configuration information.
public getHost ( ) : HostNode
Результат HostNode The host configuration information

getName() публичный метод

Returns the unique container name.
public getName ( ) : string
Результат string The unique container name

getProvisioning() публичный метод

Returns TRUE if application provisioning for the container is enabled, else FALSE.
public getProvisioning ( ) : boolean
Результат boolean TRUE if application provisioning is enabled, else FALSE

getServer() публичный метод

Returns the server with the passed name.
public getServer ( string $name ) : AppserverIo\Appserver\Core\Api\Node\ServerNodeInterface
$name string The name of the server to return
Результат AppserverIo\Appserver\Core\Api\Node\ServerNodeInterface The server node matching the passed name

getServers() публичный метод

Return's all server nodes
public getServers ( ) : array
Результат array

getServersAsArray() публичный метод

Returns the servers as array with the server name as key.
public getServersAsArray ( ) : array
Результат array The array with the servers

getThreadType() публичный метод

Returns the thread class name that start's the containere.
public getThreadType ( ) : string
Результат string The thread class name that start's the container

getType() публичный метод

Returns the container's class name.
public getType ( ) : string
Результат string The container's class name

getUpstreams() публичный метод

Return's all upstream nodes
public getUpstreams ( ) : array
Результат array

merge() публичный метод

This method merges the passed container node into this one.
public merge ( AppserverIo\Appserver\Core\Api\Node\ContainerNodeInterface $containerNode ) : void
$containerNode AppserverIo\Appserver\Core\Api\Node\ContainerNodeInterface The container node to merge
Результат void

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

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

The deployment configuration information.
protected DeploymentNode,AppserverIo\Appserver\Core\Api\Node $deployment
Результат DeploymentNode

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

Container description
protected DescriptionNode,AppserverIo\Appserver\Core\Api\Node $description
Результат DescriptionNode

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

The container's factory class name.
protected string $factory
Результат string

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

The host configuration information.
protected HostNode,AppserverIo\Appserver\Core\Api\Node $host
Результат HostNode

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

The container's name.
protected string $name
Результат string

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

En-/Disables application application provisioning.
protected bool $provisioning
Результат boolean

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

The receiver used to start the container's socket.
protected ReceiverNode,AppserverIo\Appserver\Core\Api\Node $receiver
Результат ReceiverNode

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

The servers used in container
protected array $servers
Результат array

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

The thread class name that start's the container.
protected string $threadType
Результат string

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

The container's class name.
protected string $type
Результат string

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

The upstreams used in container
protected array $upstreams
Результат array