PHP 클래스 AppserverIo\Appserver\Core\Api\Node\AppserverNode

상속: extends AppserverIo\Appserver\Core\Api\Node\AbstractNode, implements AppserverIo\Appserver\Core\Interfaces\SystemConfigurationInterface, use trait ParamsNodeTrait, use trait AppserverIo\Appserver\Core\Api\Node\ConsolesNodeTrait
파일 보기 프로젝트 열기: appserver-io/appserver 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$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