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

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

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

Свойство Тип Описание
$apps array Array with the information about the deployed applications.
$containers array Array with nodes for the registered containers.
$datasources array Array with nodes for the registered datasources.
$extractors array Array with nodes for the registered extractors.
$initialContext InitialContextNode The node containing information about the initial context.
$loggers array Array with nodes for the registered loggers.
$scanners array Array with nodes for the registered scanners.

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

Метод Описание
__construct ( ) Initializes the node with default values.
attachApp ( AppNode $app ) : void Attaches the passed app node.
attachContainer ( AppserverIo\Appserver\Core\Api\Node\ContainerNodeInterface $container ) : void Attaches the passed container node.
attachDatasource ( DatasourceNode $datasource ) : void Attaches the passed datasource node.
getAllowApplicationConfiguration ( ) : boolean Queries whether application configuration for container, server and virtual host is allowed or not.
getApps ( ) : array Returns an array with the information about the deployed applications.
getBaseDirectory ( ) : string Returns the node with the base directory information.
getContainer ( string $name ) : AppserverIo\Appserver\Core\Api\Node\ContainerNodeInterface Returns the container with the passed name.
getContainers ( ) : array Returns the array with all available containers.
getContainersAsArray ( ) : array Returns the containers as array with the container name as key.
getDatasources ( ) : array Returns an array with the information about the deployed datasources.
getExtractors ( ) : array Returns the array with registered extractors.
getGroup ( ) : string Returns the groupname configured in the system configuration.
getInitialContext ( ) : InitialContextNode Returns the node containing information about the initial context.
getLoggers ( ) : array Returns the array with all available loggers.
getProvisioners ( ) : array Returns the array with registered provisioners.
getScanners ( ) : array Returns the array with all available scanners.
getUmask ( ) : string Returns the umask configured in the system configuration.
getUser ( ) : string Returns the username configured in the system configuration.

Защищенные методы

Метод Описание
initDefaultDirectories ( ) : void Initialize the default directories.
initDefaultExtractors ( ) : void Initializes the default extractors for archive based deployment.
initDefaultFiles ( ) : void Initialize the default files.
initDefaultInitialContext ( ) : void Initializes the default initial context configuration.

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

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

Initializes the node with default values.
public __construct ( )

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

Attaches the passed app node.
public attachApp ( AppNode $app ) : void
$app AppNode The app node to attach
Результат void

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

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

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

Attaches the passed datasource node.
public attachDatasource ( DatasourceNode $datasource ) : void
$datasource DatasourceNode The datasource node to attach
Результат void

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

Queries whether application configuration for container, server and virtual host is allowed or not.
public getAllowApplicationConfiguration ( ) : boolean
Результат boolean TRUE if applications can provide additional configuration, else FALSE

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

Returns an array with the information about the deployed applications.
public getApps ( ) : array
Результат array The array with the information about the deployed applications

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

Returns the node with the base directory information.
public getBaseDirectory ( ) : string
Результат string The base directory information

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

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

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

Returns the array with all available containers.
public getContainers ( ) : array
Результат array The available containers

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

Returns the containers as array with the container name as key.
public getContainersAsArray ( ) : array
Результат array The array with the containers

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

Returns an array with the information about the deployed datasources.
public getDatasources ( ) : array
Результат array The array with the information about the deployed datasources

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

Returns the array with registered extractors.
public getExtractors ( ) : array
Результат array The registered extractors

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

Returns the groupname configured in the system configuration.
public getGroup ( ) : string
Результат string The groupname

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

Returns the node containing information about the initial context.
public getInitialContext ( ) : InitialContextNode
Результат InitialContextNode The initial context information

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

Returns the array with all available loggers.
public getLoggers ( ) : array
Результат array The available loggers

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

Returns the array with registered provisioners.
public getProvisioners ( ) : array
Результат array The registered provisioners

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

Returns the array with all available scanners.
public getScanners ( ) : array
Результат array The available scanners

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

Returns the umask configured in the system configuration.
public getUmask ( ) : string
Результат string The umask

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

Returns the username configured in the system configuration.
public getUser ( ) : string
Результат string The username

initDefaultDirectories() защищенный Метод

Initialize the default directories.
protected initDefaultDirectories ( ) : void
Результат void

initDefaultExtractors() защищенный Метод

Initializes the default extractors for archive based deployment.
protected initDefaultExtractors ( ) : void
Результат void

initDefaultFiles() защищенный Метод

Initialize the default files.
protected initDefaultFiles ( ) : void
Результат void

initDefaultInitialContext() защищенный Метод

Initializes the default initial context configuration.
protected initDefaultInitialContext ( ) : void
Результат void

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

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

Array with the information about the deployed applications.
protected array $apps
Результат array

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

Array with nodes for the registered containers.
protected array $containers
Результат array

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

Array with nodes for the registered datasources.
protected array $datasources
Результат array

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

Array with nodes for the registered extractors.
protected array $extractors
Результат array

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

The node containing information about the initial context.
protected InitialContextNode,AppserverIo\Appserver\Core\Api\Node $initialContext
Результат InitialContextNode

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

Array with nodes for the registered loggers.
protected array $loggers
Результат array

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

Array with nodes for the registered scanners.
protected array $scanners
Результат array