Class ConfigDiscovery


  • public final class ConfigDiscovery
    extends Object
    Internal helper class responsible for discovering configuration keys. This class uses reflection to find all implementations of ConfNGKey in the classpath.

    This is an internal class and should not be used directly by clients. Use ConfNG instead.

    Since:
    1.0
    Author:
    Bharat Kumar Malviya
    • Method Detail

      • discoverAllConfigKeys

        public static List<ConfNGKey> discoverAllConfigKeys​(String... basePackages)
        Discovers all ConfNGKey implementations in the classpath.
        Parameters:
        basePackages - packages to scan, if empty scans entire classpath
        Returns:
        list of discovered configuration keys