Property | Type | Description | |
---|---|---|---|
$applications | array | Storage with the available applications. | |
$dependencies | array | Storage with the available applications. | |
$handlers | array | Storage handlers registered in the web server. | |
$valves | array | Storage for the servlet engines valves that handles the request. |
Method | Description | |
---|---|---|
findRequestedApplication ( AppserverIo\Server\Interfaces\RequestContextInterface $requestContext ) : null | AppserverIo\Psr\Application\ApplicationInterface | Will try to find the application based on the context path taken from the requested filename. | |
getApplications ( ) : array | Returns the initialized applications. | |
getContainer ( ) : AppserverIo\Appserver\Core\Interfaces\ContainerInterface | Returns the container instance. | |
getDependencies ( ) : array | Returns an array of module names which should be executed first. | |
getHandlers ( ) : array | Returns the initialized web server handlers. | |
getServerContext ( ) : AppserverIo\Server\Interfaces\ServerContextInterface | Returns the server context instance. | |
getValves ( ) : array | Returns the initialized valves. | |
initApplications ( ) : void | Initialize the applications. | |
initHandlers ( ) : void | Initialize the web server handlers. | |
initValves ( ) : void | Initialize the valves that handles the requests. | |
logCriticalException ( Exception $e ) : void | Helper method that writes critical system exceptions to the system logger if configured. | |
logDebugException ( Exception $e ) : void | Helper method that writes debug system exceptions to the system logger if configured. | |
logErrorException ( Exception $e ) : void | Helper method that writes system exceptions to the system logger if configured. | |
prepare ( ) : boolean | Prepares the module for upcoming request in specific context |
public findRequestedApplication ( AppserverIo\Server\Interfaces\RequestContextInterface $requestContext ) : null | AppserverIo\Psr\Application\ApplicationInterface | ||
$requestContext | AppserverIo\Server\Interfaces\RequestContextInterface | Context of the current request |
return | null | AppserverIo\Psr\Application\ApplicationInterface |
public getApplications ( ) : array | ||
return | array | The initialized application instances |
public getContainer ( ) : AppserverIo\Appserver\Core\Interfaces\ContainerInterface | ||
return | AppserverIo\Appserver\Core\Interfaces\ContainerInterface | The container instance |
public getDependencies ( ) : array | ||
return | array | The module names this module depends on |
public getHandlers ( ) : array | ||
return | array | The initialized web server handlers |
public getServerContext ( ) : AppserverIo\Server\Interfaces\ServerContextInterface | ||
return | AppserverIo\Server\Interfaces\ServerContextInterface | The actual server context instance |
public initApplications ( ) : void | ||
return | void |
public initHandlers ( ) : void | ||
return | void |
public initValves ( ) : void | ||
return | void |
public logCriticalException ( Exception $e ) : void | ||
$e | Exception | The exception to be logged |
return | void |
public logDebugException ( Exception $e ) : void | ||
$e | Exception | The exception to be logged |
return | void |
public logErrorException ( Exception $e ) : void | ||
$e | Exception | The exception to be logged |
return | void |
protected array $applications | ||
return | array |
protected array $dependencies | ||
return | array |
protected array $handlers | ||
return | array |
protected array $valves | ||
return | array |