Skip to main content

Class: AxiSparkContext

A class representing the context of the Axispark framework. It encapsulates various components and services that are essential for the operation of the framework, including logging, plugin management, dependency injection, configuration, and scanning capabilities.

The AxiSparkContext class provides a centralized context for managing the state and behavior of the Axispark framework. It initializes and configures essential services such as logging, plugin registry, dependency injection container, and scanner based on the provided configuration options.

Constructors​

Constructor​

new AxiSparkContext(config?, privateConfig?): AxiSparkContext

Parameters​

config?​

AxiSparkConfig

privateConfig?​

AxiSparkPrivateConfig

Returns​

AxiSparkContext

Properties​

config​

readonly config: AxiSparkConfig


container​

readonly container: Container


logger​

readonly logger: Logger


plugins​

readonly plugins: PluginRegistry


privateConfig​

readonly privateConfig: AxiSparkPrivateConfig


scanner​

readonly scanner: Scanner