PHP Class AppserverIo\Appserver\Core\Api\Node\ContainerNode

Author: Tim Wagner ([email protected])
Author: Johann Zelger ([email protected])
Inheritance: extends AppserverIo\Description\Api\Node\AbstractNode, implements AppserverIo\Appserver\Core\Api\Node\ContainerNodeInterface, use trait AppserverIo\Appserver\Core\Api\Node\ClassLoadersNodeTrait
Afficher le fichier Open project: appserver-io/appserver Class Usage Examples

Protected Properties

Свойство Type Description
$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

Méthodes publiques

Méthode Description
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.

Method Details

attachServer() public méthode

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
Résultat void

getDeployment() public méthode

Returns the deployment configuration information.
public getDeployment ( ) : DeploymentNode
Résultat DeploymentNode The deployment configuration information

getDescription() public méthode

Returns the receiver description.
public getDescription ( ) : DescriptionNode
Résultat DescriptionNode The receiver description

getFactory() public méthode

Returns the container's factory class name.
public getFactory ( ) : string
Résultat string The container's factory class name

getHost() public méthode

Returns the host configuration information.
public getHost ( ) : HostNode
Résultat HostNode The host configuration information

getName() public méthode

Returns the unique container name.
public getName ( ) : string
Résultat string The unique container name

getProvisioning() public méthode

Returns TRUE if application provisioning for the container is enabled, else FALSE.
public getProvisioning ( ) : boolean
Résultat boolean TRUE if application provisioning is enabled, else FALSE

getServer() public méthode

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
Résultat AppserverIo\Appserver\Core\Api\Node\ServerNodeInterface The server node matching the passed name

getServers() public méthode

Return's all server nodes
public getServers ( ) : array
Résultat array

getServersAsArray() public méthode

Returns the servers as array with the server name as key.
public getServersAsArray ( ) : array
Résultat array The array with the servers

getThreadType() public méthode

Returns the thread class name that start's the containere.
public getThreadType ( ) : string
Résultat string The thread class name that start's the container

getType() public méthode

Returns the container's class name.
public getType ( ) : string
Résultat string The container's class name

getUpstreams() public méthode

Return's all upstream nodes
public getUpstreams ( ) : array
Résultat array

merge() public méthode

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
Résultat void

Property Details

$deployment protected_oe property

The deployment configuration information.
protected DeploymentNode,AppserverIo\Appserver\Core\Api\Node $deployment
Résultat DeploymentNode

$description protected_oe property

Container description
protected DescriptionNode,AppserverIo\Appserver\Core\Api\Node $description
Résultat DescriptionNode

$factory protected_oe property

The container's factory class name.
protected string $factory
Résultat string

$host protected_oe property

The host configuration information.
protected HostNode,AppserverIo\Appserver\Core\Api\Node $host
Résultat HostNode

$name protected_oe property

The container's name.
protected string $name
Résultat string

$provisioning protected_oe property

En-/Disables application application provisioning.
protected bool $provisioning
Résultat boolean

$receiver protected_oe property

The receiver used to start the container's socket.
protected ReceiverNode,AppserverIo\Appserver\Core\Api\Node $receiver
Résultat ReceiverNode

$servers protected_oe property

The servers used in container
protected array $servers
Résultat array

$threadType protected_oe property

The thread class name that start's the container.
protected string $threadType
Résultat string

$type protected_oe property

The container's class name.
protected string $type
Résultat string

$upstreams protected_oe property

The upstreams used in container
protected array $upstreams
Résultat array