What is the correct order of resolution of OSGi configuration at Runtime?
A.
1. Modifying a configuration in /apps will take immediate effect
2. Modifying a configuration in the Web console will take immediate effect as it takes precedence at runtime.
3. Modifying a configuration in /libs will take immediate effect, unless it is masked by a configuration in /apps.
B.
1. Modifying a configuration in the Web console will take immediate effect as it takes precedence at runtime.
2. Modifying a configuration in /apps will take immediate effect
3. Modifying a configuration in /libs will take immediate effect, unless it is masked by a configuration in /apps.
C.
1. Modifying a configuration in /libs will lake immediate effect, unless it is masked by a configuration in /apps O 2. Modifying a configuration in /apps will take immediate effect
3. Modifying a configuration in the Web console will take immediate effect as it takes precedence at runtime.
D.
1. Modifying a configuration in the Web console will take immediate effect as it takes precedence at runtime.
2. Modifying a configuration in /libs will take immediate effect, unless it is masked by a configuration in /apps.
3. Modifying a configuration in /apps will lake immediate effect.
The order of resolution for OSGi configurations at runtime in AEM is as follows:
Web Console Configuration:
Changes made through the OSGi Web Console take immediate effect and have the highest precedence. This is because these configurations are considered the most direct way to adjust OSGi settings at runtime.
References:OSGi Configuration in AEM
/apps Configuration:
Configurations in the /apps directory take precedence over those in the /libs directory. This allows custom configurations to override the default configurations provided by AEM.
References:AEM Project Structure
/libs Configuration:
Configurations in the /libs directory are the default configurations provided by AEM. They are overridden by any configurations in the /apps directory.
References:AEM Configuration
By understanding this order, developers can effectively manage and prioritize their OSGi configurations to ensure the desired behavior of their AEM instances.
Contribute your Thoughts:
Chosen Answer:
This is a voting comment (?). You can switch to a simple comment. It is better to Upvote an existing comment if you don't have anything to add.
Submit