public interface BeanContainer
Modifier and Type | Method and Description |
---|---|
void |
addAop(AopDefine aopDefine) |
void |
addBeanContainer(BeanContainer beanContainer) |
void |
addTypeConverter(TypeConverter typeConverter) |
<T> T |
getBeanByName(String name) |
<T> T |
getBeanByType(Class<T> clazz) |
<T> T |
getBeanByType(String type) |
<T> Collection<T> |
getBeanCollection(Class<T> clazz) |
<T> Collection<T> |
getBeanCollection(String type) |
<T> List<T> |
getBeanList(Class<T> clazz) |
<T> List<T> |
getBeanList(String type) |
<T> Set<T> |
getBeanSet(Class<T> clazz) |
<T> Set<T> |
getBeanSet(String type) |
ClassLoader |
getClassLoader() |
boolean |
isExistBeanByName(String name) |
boolean |
isExistBeanByType(Class clazz) |
boolean |
isExistBeanByType(String type) |
<T> void |
registerClass(Class<T> clazz) |
void |
removeBeanContainer(BeanContainer beanContainer) |
void |
setParent(BeanContainer beanContainer) |
<T> void registerClass(Class<T> clazz)
<T> T getBeanByName(String name)
<T> T getBeanByType(String type)
<T> T getBeanByType(Class<T> clazz)
<T> Collection<T> getBeanCollection(String type)
<T> Collection<T> getBeanCollection(Class<T> clazz)
boolean isExistBeanByName(String name)
boolean isExistBeanByType(String type)
boolean isExistBeanByType(Class clazz)
void addTypeConverter(TypeConverter typeConverter)
void addAop(AopDefine aopDefine)
void setParent(BeanContainer beanContainer)
void addBeanContainer(BeanContainer beanContainer)
void removeBeanContainer(BeanContainer beanContainer)
ClassLoader getClassLoader()
Copyright © 2006–2018 TinyGroup. All rights reserved.