• 初识Archaius


    Netflix Archaius是一个配置管理库,其重点是来自多个配置存储的动态属性。它包括一组用于Netflix的Java配置管理API。它主要实现为Apache Commons Configuration库的扩展。提供的主要功能有:

    1. 动态、类型属性
    2. 高吞吐量和线程安全的配置操作
    3. 一个轮询框架,允许用户获取对配置源的属性更改
    4. JMX支持
    5. 对于愿意使用基于约定的属性文件位置的应用程序(以及大多数web应用程序),提供开箱即用的复合配置(这是强大功能之一)
    <?xml version="1.0" encoding="UTF-8"?>
    <project xmlns="http://maven.apache.org/POM/4.0.0" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
      <modelVersion>4.0.0</modelVersion>
      <groupId>com.netflix.archaius</groupId>
      <artifactId>archaius-core</artifactId>
      <version>0.7.5</version>
      <dependencies>
        <dependency>
          <groupId>com.google.code.findbugs</groupId>
          <artifactId>jsr305</artifactId>
          <version>3.0.1</version>
          <scope>runtime</scope>
        </dependency>
        <dependency>
          <groupId>commons-configuration</groupId>
          <artifactId>commons-configuration</artifactId>
          <version>1.8</version>
          <scope>runtime</scope>
        </dependency>
        <dependency>
          <groupId>org.slf4j</groupId>
          <artifactId>slf4j-api</artifactId>
          <version>1.6.4</version>
          <scope>runtime</scope>
        </dependency>
        <dependency>
          <groupId>com.google.guava</groupId>
          <artifactId>guava</artifactId>
          <version>16.0</version>
          <scope>runtime</scope>
        </dependency>
        <dependency>
          <groupId>com.fasterxml.jackson.core</groupId>
          <artifactId>jackson-annotations</artifactId>
          <version>2.4.3</version>
          <scope>runtime</scope>
        </dependency>
        <dependency>
          <groupId>com.fasterxml.jackson.core</groupId>
          <artifactId>jackson-core</artifactId>
          <version>2.4.3</version>
          <scope>runtime</scope>
        </dependency>
        <dependency>
          <groupId>com.fasterxml.jackson.core</groupId>
          <artifactId>jackson-databind</artifactId>
          <version>2.4.3</version>
          <scope>runtime</scope>
        </dependency>
      </dependencies>
      <name>archaius-core</name>
      <description>archaius-core</description>
      <developers>
        <developer>
          <id>netflixgithub</id>
          <name>Netflix Open Source Development</name>
          <email>talent@netflix.com</email>
        </developer>
      </developers>
      <licenses>
        <license>
          <name>The Apache Software License, Version 2.0</name>
          <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
          <distribution>repo</distribution>
        </license>
      </licenses>
      <properties>
        <nebula_Manifest_Version>1.0</nebula_Manifest_Version>
        <nebula_Implementation_Title>com.netflix.archaius#archaius-core;0.7.5</nebula_Implementation_Title>
        <nebula_Implementation_Version>0.7.5</nebula_Implementation_Version>
        <nebula_Built_Status>integration</nebula_Built_Status>
        <nebula_Built_By>travis</nebula_Built_By>
        <nebula_Built_OS>Linux</nebula_Built_OS>
        <nebula_Build_Date>2016-10-03_23:29:42</nebula_Build_Date>
        <nebula_Gradle_Version>2.2.1</nebula_Gradle_Version>
        <nebula_Module_Owner>talent@netflix.com</nebula_Module_Owner>
        <nebula_Module_Email>talent@netflix.com</nebula_Module_Email>
        <nebula_Module_Source>/archaius-core</nebula_Module_Source>
        <nebula_Module_Origin>https://github.com/Netflix/archaius.git</nebula_Module_Origin>
        <nebula_Change>e623c01</nebula_Change>
        <nebula_Branch>e623c0131bdfa4a06a9cf62c2c2bc0a2e31f3ff7</nebula_Branch>
        <nebula_Build_Host>testing-worker-linux-docker-c3a969d5-3435-linux-10</nebula_Build_Host>
        <nebula_Build_Job>LOCAL</nebula_Build_Job>
        <nebula_Build_Number>LOCAL</nebula_Build_Number>
        <nebula_Build_Id>LOCAL</nebula_Build_Id>
        <nebula_Created_By>1.8.0_31-b13 (Oracle Corporation)</nebula_Created_By>
        <nebula_Build_Java_Version>1.8.0_31</nebula_Build_Java_Version>
        <nebula_X_Compile_Target_JDK>1.6</nebula_X_Compile_Target_JDK>
        <nebula_X_Compile_Source_JDK>1.6</nebula_X_Compile_Source_JDK>
      </properties>
      <scm>
        <url>scm:https://github.com/Netflix/archaius.git</url>
        <connection>scm:https://github.com/Netflix/archaius.git</connection>
      </scm>
      <url>https://github.com/Netflix/archaius</url>
    </project>
  • 相关阅读:
    《Java从入门到精通》第十三章学习笔记
    Java实训项目--影碟管理软件
    《Java从入门到精通》第十二章学习笔记
    《Java从入门到精通》第十一章学习笔记
    《Java从入门到精通》第十章学习笔记
    《Java从入门到精通》第九章学习笔记
    Swift游戏实战-跑酷熊猫 02 创建熊猫类
    Swift游戏实战-跑酷熊猫 01 创建工程导入素材
    Swift游戏实战-跑酷熊猫 00 游戏预览
    Swift游戏实战-跑酷熊猫(一) 简介 (含源代码)
  • 原文地址:https://www.cnblogs.com/moonsoft/p/15926144.html
Copyright © 2020-2023  润新知