类 ConfigurationUtils


  • public class ConfigurationUtils
    extends Object
    Utilities for manipulating configurations from different sources
    • 构造器详细资料

      • ConfigurationUtils

        public ConfigurationUtils()
    • 方法详细资料

      • getSystemConfiguration

        public static Configuration getSystemConfiguration()
        Used to get properties from the jvm
        返回:
      • getEnvConfiguration

        public static Configuration getEnvConfiguration()
        Used to get properties from the os environment
        返回:
      • getDynamicGlobalConfiguration

        public static Configuration getDynamicGlobalConfiguration()
      • getServerShutdownTimeout

        public static int getServerShutdownTimeout()
      • getDynamicProperty

        public static String getDynamicProperty​(String property)
      • getDynamicProperty

        public static String getDynamicProperty​(String property,
                                                String defaultValue)
      • getProperty

        public static String getProperty​(String property)
      • getProperty

        public static String getProperty​(String property,
                                         String defaultValue)
      • get

        public static int get​(String property,
                              int defaultValue)