1# AbilityStageContext 2 3The **AbilityStageContext** module, inherited from [Context](js-apis-inner-application-context.md), implements the context of an ability stage. 4 5This module provides APIs for accessing a specific ability stage. You can use the APIs to obtain the **ModuleInfo** object and environment configuration of an ability stage. 6 7> **NOTE** 8> 9> The initial APIs of this module are supported since API version 9. Newly added APIs will be marked with a superscript to indicate their earliest API version. 10> The APIs of this module can be used only in the stage model. 11 12## Modules to Import 13 14```ts 15import { common } from '@kit.AbilityKit'; 16``` 17 18## Usage 19 20The ability stage context is obtained through an **AbilityStage** instance. 21 22```ts 23import { AbilityStage } from '@kit.AbilityKit'; 24 25class MyAbilityStage extends AbilityStage { 26 onCreate() { 27 let abilityStageContext = this.context; 28 } 29} 30``` 31 32## Properties 33 34**Atomic service API**: This API can be used in atomic services since API version 11. 35 36**System capability**: SystemCapability.Ability.AbilityRuntime.Core 37 38| Name | Type | Readable | Writable | Description | 39| -------- | -------- | -------- | -------- | -------- | 40| currentHapModuleInfo | [HapModuleInfo](js-apis-bundleManager-hapModuleInfo.md) | Yes | No | **ModuleInfo** object corresponding to the **AbilityStage**. | 41| config | [Configuration](js-apis-app-ability-configuration.md) | Yes | No | Configuration for the environment where the application is running. | 42