Interface OsgiConfigurationValidator

    • Method Detail

      • validateConfig

        @Nullable
        @Nullable Collection<ValidationMessage> validateConfig​(@NotNull
                                                               @NotNull Map<String,​Object> config,
                                                               @NotNull
                                                               @NotNull String pid,
                                                               @Nullable
                                                               @Nullable String subname,
                                                               @NotNull
                                                               @NotNull String nodePath)
        Called for each serialized OSGi configuration found in the content package.
        Parameters:
        config - the deserialized configuration properties as defined in OSGi Config Admin Service Specification, $104.4.3 (but as Map instead of as Dictionary)
        pid - either the PID or the factory PID of the configuration properties
        subname - either null (for regular PID) or the alias (for factory PID configurations)
        nodePath - the repository path of the node which contains the given OSGi configuration
        Returns:
        validation messages or null