| Modifier and Type | Field and Description |
|---|---|
protected static org.slf4j.Logger |
LOGGER |
| Constructor and Description |
|---|
SimpleRegistry() |
| 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
|
public <T> List<T> findByType(Class<T> type, boolean newInstance)
RegistryfindByType in interface Registrytype - 类型public <T> T getFirstByType(Class<T> type, boolean newInstance)
RegistrygetFirstByType in interface Registrytype - 类型public <T> T getFirstByType(Class<T> type, boolean newInstance, boolean withProxy)
RegistrygetFirstByType in interface Registrytype - 类型Copyright © 2015–2016 Baidu. All rights reserved.