All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.anysoft.context.Context Maven / Gradle / Ivy

There is a newer version: 1.6.17
Show newest version
package com.anysoft.context;

import com.anysoft.util.Reportable;
import com.anysoft.util.Watcher;
import com.anysoft.util.XMLConfigurable;


/**
 * 通用配置环境
 * 
 * @author duanyy
 *
 * @param  配置对象
 * 
 * @since 1.5.0
 * 
 * @version 1.5.2 [20141017 duanyy]
 * - 实现Reportable接口
 * 
 * @version 1.6.4.20 [20151222 duanyy] 
* - 根据sonar建议优化代码
*/ public interface Context extends XMLConfigurable, AutoCloseable,Reportable { /** * 通过ID获取对象 * * @param id * @return object */ public O get(String id); /** * 注册监控器 * @param watcher */ public void addWatcher(Watcher watcher); /** * 注销监控器 * @param watcher */ public void removeWatcher(Watcher watcher); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy