QuestionQ8

Given a scenario, identify how to implement OSGi services and servlets

When more than one configuration for the same PID is applicable, which configuration takes effect?

  • A The last modified configuration is applied.
  • B The configuration with the highest number of matching run modes is applied.
  • C The one that occurs first in the repository is applied.
  • D A configuration factory is created and all configurations are applied.
Explanation

For an AEM OSGi PID with multiple applicable run-mode-specific configurations, the configuration with the highest number of matching run modes is effective for the entire PID.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!