Index

A B C D E F G H I M N R S T V 
All Classes and Interfaces|All Packages|Serialized Form

A

addBeanResolver(BeanResolver) - Method in interface cool.scx.bean.BeanFactory
添加一个 Bean 依赖解析器
addBeanResolver(BeanResolver) - Method in class cool.scx.bean.BeanFactoryImpl
 
AnnotationConfigBeanProvider - Class in cool.scx.bean.provider
根据 class 创建 Bean
AnnotationConfigBeanProvider(Class<?>) - Constructor for class cool.scx.bean.provider.AnnotationConfigBeanProvider
 
Autowired - Annotation Interface in cool.scx.bean.annotation
 
AutowiredAnnotationResolver - Class in cool.scx.bean.resolver
处理 Autowired 注解 同时也承担最核心的 配置
AutowiredAnnotationResolver(BeanFactory) - Constructor for class cool.scx.bean.resolver.AutowiredAnnotationResolver
 

B

bean() - Method in record class cool.scx.bean.provider.InstanceBeanProvider
Returns the value of the bean record component.
beanClass() - Method in class cool.scx.bean.provider.AnnotationConfigBeanProvider
 
beanClass() - Method in interface cool.scx.bean.provider.BeanProvider
表示 getBean() 返回的对象类型
beanClass() - Method in class cool.scx.bean.provider.InjectingBeanProvider
 
beanClass() - Method in record class cool.scx.bean.provider.InstanceBeanProvider
 
beanClass() - Method in class cool.scx.bean.provider.SingletonBeanProvider
 
BeanCreationException - Exception Class in cool.scx.bean.exception
 
BeanCreationException(String) - Constructor for exception class cool.scx.bean.exception.BeanCreationException
 
BeanCreationException(String, Throwable) - Constructor for exception class cool.scx.bean.exception.BeanCreationException
 
BeanFactory - Interface in cool.scx.bean
BeanFactory
BeanFactoryImpl - Class in cool.scx.bean
 
BeanFactoryImpl() - Constructor for class cool.scx.bean.BeanFactoryImpl
 
BeanProvider - Interface in cool.scx.bean.provider
Bean 提供器
BeanResolver - Interface in cool.scx.bean.resolver
提供配置一个 bean 所需的依赖
beanResolvers() - Method in interface cool.scx.bean.BeanFactory
获取所有 Bean 依赖解析器
beanResolvers() - Method in class cool.scx.bean.BeanFactoryImpl
 
buildCycleText(List<InjectingBeanProvider>, InjectingBeanProvider) - Static method in class cool.scx.bean.provider.InjectingBeanProvider
 
buildCycleText(List<Class<?>>, Class<?>) - Static method in class cool.scx.bean.provider.AnnotationConfigBeanProvider
 

C

checkAllArePrototype(List<InjectingBeanProvider>) - Static method in class cool.scx.bean.provider.InjectingBeanProvider
 
checkContains(List<InjectingBeanProvider>, InjectingBeanProvider) - Static method in class cool.scx.bean.provider.InjectingBeanProvider
 
cool.scx.bean - package cool.scx.bean
 
cool.scx.bean.annotation - package cool.scx.bean.annotation
 
cool.scx.bean.exception - package cool.scx.bean.exception
 
cool.scx.bean.provider - package cool.scx.bean.provider
 
cool.scx.bean.resolver - package cool.scx.bean.resolver
 

D

DuplicateBeanNameException - Exception Class in cool.scx.bean.exception
重复的 Bean 名称
DuplicateBeanNameException(String) - Constructor for exception class cool.scx.bean.exception.DuplicateBeanNameException
 

E

equals(Object) - Method in record class cool.scx.bean.provider.InstanceBeanProvider
Indicates whether some other object is "equal to" this one.

F

findPreferredConstructor(Class<?>) - Static method in class cool.scx.bean.provider.AnnotationConfigBeanProvider
 

G

getBean(BeanFactory) - Method in class cool.scx.bean.provider.AnnotationConfigBeanProvider
 
getBean(BeanFactory) - Method in interface cool.scx.bean.provider.BeanProvider
获取 Bean
getBean(BeanFactory) - Method in class cool.scx.bean.provider.InjectingBeanProvider
 
getBean(BeanFactory) - Method in record class cool.scx.bean.provider.InstanceBeanProvider
 
getBean(BeanFactory) - Method in class cool.scx.bean.provider.SingletonBeanProvider
 
getBean(Class<T>) - Method in interface cool.scx.bean.BeanFactory
根据 类型 获取 Bean
getBean(Class<T>) - Method in class cool.scx.bean.BeanFactoryImpl
 
getBean(String) - Method in interface cool.scx.bean.BeanFactory
根据 名称 获取 Bean
getBean(String) - Method in class cool.scx.bean.BeanFactoryImpl
 
getBean(String, Class<T>) - Method in interface cool.scx.bean.BeanFactory
根据 名称和类型 获取 Bean
getBean(String, Class<T>) - Method in class cool.scx.bean.BeanFactoryImpl
 
getBeanNames() - Method in interface cool.scx.bean.BeanFactory
获取所有 Bean 的名字
getBeanNames() - Method in class cool.scx.bean.BeanFactoryImpl
 

H

hashCode() - Method in record class cool.scx.bean.provider.InstanceBeanProvider
Returns a hash code value for this object.

I

initializeBeans() - Method in interface cool.scx.bean.BeanFactory
初始化所有 Bean
initializeBeans() - Method in class cool.scx.bean.BeanFactoryImpl
 
InjectingBeanProvider - Class in cool.scx.bean.provider
支持字段和方法注入 的 提供器
InjectingBeanProvider(BeanProvider) - Constructor for class cool.scx.bean.provider.InjectingBeanProvider
 
InstanceBeanProvider - Record Class in cool.scx.bean.provider
根据一个 已经存在的 Bean 创建
InstanceBeanProvider(Object) - Constructor for record class cool.scx.bean.provider.InstanceBeanProvider
Creates an instance of a InstanceBeanProvider record class.

M

MissingValueException - Exception Class in cool.scx.bean.exception
 
MissingValueException(String) - Constructor for exception class cool.scx.bean.exception.MissingValueException
 

N

newInstance(BeanFactory) - Method in class cool.scx.bean.provider.AnnotationConfigBeanProvider
 
NoSuchBeanException - Exception Class in cool.scx.bean.exception
未找到 对应的 Bean
NoSuchBeanException(String) - Constructor for exception class cool.scx.bean.exception.NoSuchBeanException
 
NoUniqueBeanException - Exception Class in cool.scx.bean.exception
不是唯一符合条件的
NoUniqueBeanException(String) - Constructor for exception class cool.scx.bean.exception.NoUniqueBeanException
 

R

registerBean(String, Object) - Method in interface cool.scx.bean.BeanFactory
注册一个单例的 Bean
registerBean(String, Object) - Method in class cool.scx.bean.BeanFactoryImpl
 
registerBeanClass(String, Class<?>) - Method in interface cool.scx.bean.BeanFactory
根据 Class 注册一个 Bean, 单例模式
registerBeanClass(String, Class<?>, boolean) - Method in interface cool.scx.bean.BeanFactory
根据 Class 注册一个 Bean
registerBeanClass(String, Class<?>, boolean) - Method in class cool.scx.bean.BeanFactoryImpl
 
registerBeanProvider(String, BeanProvider) - Method in interface cool.scx.bean.BeanFactory
注册一个 Bean 提供器
registerBeanProvider(String, BeanProvider) - Method in class cool.scx.bean.BeanFactoryImpl
 
required() - Element in annotation interface cool.scx.bean.annotation.Autowired
是否必填
resolveConstructorArgument(ParameterInfo) - Method in class cool.scx.bean.resolver.AutowiredAnnotationResolver
 
resolveConstructorArgument(ParameterInfo) - Method in interface cool.scx.bean.resolver.BeanResolver
提供 构造函数 参数 无法处理返回 null
resolveConstructorArgument(ParameterInfo) - Method in class cool.scx.bean.resolver.ValueAnnotationResolver
 
resolveFieldValue(FieldInfo) - Method in class cool.scx.bean.resolver.AutowiredAnnotationResolver
 
resolveFieldValue(FieldInfo) - Method in interface cool.scx.bean.resolver.BeanResolver
提供 字段 无法处理返回 null
resolveFieldValue(FieldInfo) - Method in class cool.scx.bean.resolver.ValueAnnotationResolver
 
resolveMethod(MethodInfo) - Method in class cool.scx.bean.resolver.AutowiredAnnotationResolver
 
resolveMethod(MethodInfo) - Method in interface cool.scx.bean.resolver.BeanResolver
配置 方法 无法配置 返回 false
resolveMethod(MethodInfo) - Method in class cool.scx.bean.resolver.ValueAnnotationResolver
 

S

singleton() - Method in class cool.scx.bean.provider.AnnotationConfigBeanProvider
 
singleton() - Method in interface cool.scx.bean.provider.BeanProvider
表示 getBean() 是否始终返回同一实例
singleton() - Method in class cool.scx.bean.provider.InjectingBeanProvider
 
singleton() - Method in record class cool.scx.bean.provider.InstanceBeanProvider
 
singleton() - Method in class cool.scx.bean.provider.SingletonBeanProvider
 
SingletonBeanProvider - Class in cool.scx.bean.provider
单例的 Bean 提供器
SingletonBeanProvider(BeanProvider) - Constructor for class cool.scx.bean.provider.SingletonBeanProvider
 

T

toString() - Method in record class cool.scx.bean.provider.InstanceBeanProvider
Returns a string representation of this record class.

V

value() - Element in annotation interface cool.scx.bean.annotation.Autowired
名字
value() - Element in annotation interface cool.scx.bean.annotation.Value
 
Value - Annotation Interface in cool.scx.bean.annotation
 
ValueAnnotationResolver - Class in cool.scx.bean.resolver
处理 value 注解
ValueAnnotationResolver(Map<String, Object>) - Constructor for class cool.scx.bean.resolver.ValueAnnotationResolver
 
A B C D E F G H I M N R S T V 
All Classes and Interfaces|All Packages|Serialized Form