Class ScrConfigurationImpl

  • All Implemented Interfaces:
    ScrConfiguration

    public class ScrConfigurationImpl
    extends Object
    implements ScrConfiguration
    The ScrConfiguration class conveys configuration for the Felix DS implementation bundle.

    Configuration Source

    1. Framework properties: These are read when the Declarative Services implementation is first started.
    2. Configuration Admin Service: Properties are provided by means of a ManagedService with Service PID org.apache.felix.scr.ScrService. This class uses an OSGi Service Factory (ScrManagedServiceServiceFactory) to register the managed service without requiring the Configuration Admin Service API to be required upfront.

    See the Configuration section of the Apache Felix Service Component Runtime documentation page for detailed information.

    • Constructor Detail

      • ScrConfigurationImpl

        public ScrConfigurationImpl​(org.apache.felix.scr.impl.Activator activator)
    • Method Detail

      • start

        public void start​(org.osgi.framework.BundleContext bundleContext)
      • stop

        public void stop()
      • setScrCommand

        public void setScrCommand​(org.apache.felix.scr.impl.ScrCommand scrCommand)
      • getLogLevel

        public int getLogLevel()
        Returns the current log level.
        Specified by:
        getLogLevel in interface ScrConfiguration
        Returns:
      • globalExtender

        public boolean globalExtender()