Interface ScrConfiguration

  • All Known Implementing Classes:
    ScrConfigurationImpl

    public interface 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.

    • Method Detail

      • getLogLevel

        int getLogLevel()
        Returns the current log level.
        Returns:
      • isFactoryEnabled

        boolean isFactoryEnabled()
      • keepInstances

        boolean keepInstances()
      • infoAsService

        @Deprecated
        boolean infoAsService()
        Deprecated.
      • lockTimeout

        long lockTimeout()
      • stopTimeout

        long stopTimeout()
      • globalExtender

        boolean globalExtender()
        Since:
        2.1
      • serviceChangecountTimeout

        long serviceChangecountTimeout()
        Since:
        2.2