
com.baidu.disconf.client.support.registry.Registry 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.support.registry;
import java.util.List;
/**
* Created by knightliao on 15/11/26.
*/
public interface Registry {
/**
* 查找Bean
*
* @param type 类型
*
* @return 可找到的Bean的实例列表
*/
List findByType(Class type, boolean newInstance);
/**
* 查找Bean
*
* @param type 类型
*
* @return 可找到的Bean的实例列表
*/
T getFirstByType(Class type, boolean newInstance);
/**
* 查找Bean, 是否找proxy
*
* @param type 类型
*
* @return 可找到的Bean的实例列表
*/
T getFirstByType(Class type, boolean newInstance, boolean withProxy);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy