
com.baidu.disconf.client.common.annotations.DisconfUpdateService Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of disconf-client Show documentation
Show all versions of disconf-client Show documentation
https://github.com/knightliao/disconf/tree/master/disconf-client
The newest version!
package com.baidu.disconf.client.common.annotations;
import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* 标识配置更新时需要进行更新的服务,需要指定它影响的配置数据,
* 可以是配置文件或者是配置项
*
* @author liaoqiqi
* @version 2014-5-16
*/
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface DisconfUpdateService {
/**
* 配置文件
*/
Class>[] classes() default {};
/**
* 配置文件key名
*/
String[] confFileKeys() default {};
/**
* 配置项
*/
String[] itemKeys() default {};
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy