public interface Registry
| Modifier and Type | Method and Description |
|---|---|
<T> List<T> |
findByType(Class<T> type,
boolean newInstance)
查找Bean
|
<T> T |
getFirstByType(Class<T> type,
boolean newInstance)
查找Bean
|
<T> T |
getFirstByType(Class<T> type,
boolean newInstance,
boolean withProxy)
查找Bean, 是否找proxy
|
<T> List<T> findByType(Class<T> type, boolean newInstance)
type - 类型<T> T getFirstByType(Class<T> type, boolean newInstance)
type - 类型<T> T getFirstByType(Class<T> type, boolean newInstance, boolean withProxy)
type - 类型Copyright © 2015–2016 Baidu. All rights reserved.