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

Inheritance: extends AppserverIo\Appserver\Core\Api\Node\AbstractNode, implements AppserverIo\Appserver\Core\Api\Node\ManagerNodeInterface, use trait ParamsNodeTrait, use trait AppserverIo\Appserver\Core\Api\Node\DirectoriesNodeTrait, use trait AppserverIo\Appserver\Core\Api\Node\DescriptorsNodeTrait
Show file Open project: appserver-io/appserver

Protected Properties

Property Type Description
$contextFactory string The context factory class name.
$factory string The managers factory class name.
$name string The unique manager name.
$type string The manager class name.

Public Methods

Method Description
__construct ( string $name = '', string $type = '', string $factory = '', string $contextFactory = '' ) Initializes the manager configuration with the passed values.
getContextFactory ( ) : string Returns the context factory class name.
getFactory ( ) : string Returns the factory class name.
getName ( ) : string Returns the application name.
getType ( ) : string Returns the class name.
merge ( AppserverIo\Appserver\Core\Api\Node\ManagerNodeInterface $managerNode ) : void This method merges the configuration of the passed manager node into this one.

Method Details

__construct() public method

Initializes the manager configuration with the passed values.
public __construct ( string $name = '', string $type = '', string $factory = '', string $contextFactory = '' )
$name string The unique manager name
$type string The manager class name
$factory string The managers factory class name
$contextFactory string The context factory class name

getContextFactory() public method

Returns the context factory class name.
public getContextFactory ( ) : string
return string The context factory class name

getFactory() public method

Returns the factory class name.
public getFactory ( ) : string
return string The factory class name

getName() public method

Returns the application name.
public getName ( ) : string
return string The unique application name

getType() public method

Returns the class name.
public getType ( ) : string
return string The class name

merge() public method

This method merges the configuration of the passed manager node into this one.
public merge ( AppserverIo\Appserver\Core\Api\Node\ManagerNodeInterface $managerNode ) : void
$managerNode AppserverIo\Appserver\Core\Api\Node\ManagerNodeInterface The node with the manager configuration we want to merge
return void

Property Details

$contextFactory protected property

The context factory class name.
protected string $contextFactory
return string

$factory protected property

The managers factory class name.
protected string $factory
return string

$name protected property

The unique manager name.
protected string $name
return string

$type protected property

The manager class name.
protected string $type
return string