public class RunModeUtil
Instead of directly using the run mode service, it is better to make
the component in question require a configuration (see OSGI Declarative
Services Spec: configuration policy). In this case, a component gets
only active if a configuration is available. Such a configuration can
be put into the repository for the specific run mode.