Метод | Описание | |
---|---|---|
addApplication ( AppserverIo\Psr\Application\ApplicationInterface $application ) : void | Append the deployed application to the deployment instance and registers it in the system configuration. | |
getAppBase ( ) : string | The application base directory for this container | |
getApplication ( string $name ) : AppserverIo\Psr\Application\ApplicationInterface | Returns the application instance with the passed name. | |
getApplications ( ) : AppserverIo\Storage\GenericStackable | Returns the deployed applications. | |
getContainerNode ( ) : |
Returns the containers configuration node. | |
getInitialContext ( ) : AppserverIo\Appserver\Application\Interfaces\ContextInterface | Returns the initial context instance. | |
getName ( ) : string | Returns the unique container name from the configuration. | |
getNamingDirectory ( ) : AppserverIo\Psr\Naming\NamingDirectoryInterface | Returns the containers naming directory. | |
getRunlevel ( ) : string | ||
getTmpDir ( string | null $directoryToAppend = null ) : string | Returns the servers tmp directory, append with the passed directory. | |
hasProvisioningEnabled ( ) : boolean | Returns TRUE if application provisioning for the container is enabled, else FALSE. | |
newService ( string $className ) : AppserverIo\Appserver\Core\Api\ServiceInterface | Will return a new instance of a given service class | |
stop ( ) : void | Stops the container and all servers. |
public addApplication ( AppserverIo\Psr\Application\ApplicationInterface $application ) : void | ||
$application | AppserverIo\Psr\Application\ApplicationInterface | The application to append |
Результат | void |
public getAppBase ( ) : string | ||
Результат | string | The application base directory for this container |
public getApplication ( string $name ) : AppserverIo\Psr\Application\ApplicationInterface | ||
$name | string | The name of the application to return |
Результат | AppserverIo\Psr\Application\ApplicationInterface | The application instance |
public getApplications ( ) : AppserverIo\Storage\GenericStackable | ||
Результат | AppserverIo\Storage\GenericStackable | The with applications |
public getContainerNode ( ) : |
||
Результат | The configuration node |
public getInitialContext ( ) : AppserverIo\Appserver\Application\Interfaces\ContextInterface | ||
Результат | AppserverIo\Appserver\Application\Interfaces\ContextInterface | The initial context instance |
public getNamingDirectory ( ) : AppserverIo\Psr\Naming\NamingDirectoryInterface | ||
Результат | AppserverIo\Psr\Naming\NamingDirectoryInterface | The containers naming directory |
public hasProvisioningEnabled ( ) : boolean | ||
Результат | boolean | TRUE if application provisioning is enabled, else FALSE |
public newService ( string $className ) : AppserverIo\Appserver\Core\Api\ServiceInterface | ||
$className | string | The API service class name to return the instance for |
Результат | AppserverIo\Appserver\Core\Api\ServiceInterface | The service instance |