Class HoconMpMetaConfigProvider

    • Constructor Detail

      • HoconMpMetaConfigProvider

        public HoconMpMetaConfigProvider()
    • Method Detail

      • create

        public List<? extends ConfigSource> create​(String type,
                                                   Config metaConfig,
                                                   String profile)
        Description copied from interface: MpMetaConfigProvider
        Create a list of configuration sources from a meta-config type.
        Specified by:
        create in interface MpMetaConfigProvider
        Parameters:
        type - type of the config source
        metaConfig - configuration properties of a meta-config type
        profile - name of the profile to use or null if not used
        Returns:
        list of config sources
      • priority

        public int priority()
        Description copied from interface: Prioritized
        Priority of this class (maybe because it is defined dynamically, so it cannot be defined by an annotation). If not dynamic, you can use the javax.annotation.Priority annotation rather then implementing this interface as long as it is supported by the library using this Prioritized.
        Specified by:
        priority in interface Prioritized
        Returns:
        the priority of this service, must be a non-negative number