通过ThunderProperties类获取默认属性配置文件
- 如果配置文件中没有配置默认属性,则使用java代码中的默认配置
- 例如: 选择序列化实现的时候
- 类 SerializerFactory
private static SerializerType binarySerializerType = SerializerType.FST_BINARY; private static SerializerType jsonSerializerType = SerializerType.JACKSON_JSON;
- 通过ThunderPropertiesManager类统一管理属性
- 属性文件
- 扩展属性文件
- 远程属性文件:为集成类似ctrip apollo配置中心预留接口 (参考ThunderPropertiesExecutor)