Java helper to expose OSGi configuration values to Javascript code

Constructors

Methods

  • Get a single configuration value for a given OSGi configuration factory PID, factory identifier and a property key

    Parameters

    • factoryPid: string

      the factory PID

    • factoryIdentifier: string

      the factory identifier within the given factory PID

    • key: string

      the property key

    Returns string

    a String containing the configuration value

  • Get the configuration values for a given OSGi configuration factory PID and factory identifier

    Parameters

    • factoryPid: string

      the factory PID

    • factoryIdentifier: string

      the factory identifier within the given factory PID

    Returns any

    a Map<String, Object> containing the configuration values