Package com.alibaba.druid.filter.config

  • Class Summary 
    ClassDescription
    ConfigFilter
    ????????????, ??, ?????????? [??] DruidDataSource dataSource = new DruidDataSource(); //dataSource.setXXX ???? //??????? //??config filter dataSource.setFilters("config"); //??RSA??(??????? dataSource.setConnectionPropertise("config.decrypt=true"); dataSource.setPassword("?????"); [??????] DruidDataSource dataSource = new DruidDataSource(); //??????? //??config filter dataSource.setFilters("config"); //??RSA??(??????? dataSource.setConnectionPropertise("config.file=http://localhost:8080/remote.propreties;"); [Spring?????] <bean id="dataSource" class="com.alibaba.druid.pool.DruidDataSource" init-method="init" destroy-method="close"> <property name="password" value="?????" /> <!-- ??????? --> <property name="filters" value="config" /> <property name="connectionProperties" value="config.decrypt=true" /> </bean> [Spring?????????] <bean id="dataSource" class="com.alibaba.druid.pool.DruidDataSource" init-method="init" destroy-method="close"> <property name="filters" value="config" /> <property name="connectionProperties" value="config.file=http://localhost:8080/remote.propreties; /> </bean> [????????????] java -Ddruid.config.file=file:///home/test/my.properties ...
    ConfigTools 

Copyright © 2013–2019 Alibaba Group. All rights reserved.



NOTHING
NOTHING
Add the Maven Dependecy to your project: maven dependecy for com.amazonaws : aws-java-sdk : 1.3.14