类 SmartAutowiredBeanProcessor
- java.lang.Object
-
- com.burukeyou.smartdi.config.SpringBeanContext
-
- com.burukeyou.smartdi.register.BaseSpringAware
-
- com.burukeyou.smartdi.register.BaseAutowiredBeanPostProcessor
-
- com.burukeyou.smartdi.register.BaseAutowiredBeanProcessor
-
- com.burukeyou.smartdi.smart.SmartAutowiredBeanProcessor
-
- 所有已实现的接口:
AutowiredBeanProcessor,org.springframework.beans.factory.Aware,org.springframework.beans.factory.BeanClassLoaderAware,org.springframework.beans.factory.BeanFactoryAware,org.springframework.beans.factory.BeanNameAware,org.springframework.beans.factory.config.BeanFactoryPostProcessor,org.springframework.beans.factory.config.BeanPostProcessor,org.springframework.beans.factory.config.InstantiationAwareBeanPostProcessor,org.springframework.beans.factory.DisposableBean,org.springframework.beans.factory.support.MergedBeanDefinitionPostProcessor,org.springframework.context.ApplicationContextAware,org.springframework.context.EnvironmentAware,org.springframework.core.Ordered
@Component public class SmartAutowiredBeanProcessor extends BaseAutowiredBeanProcessor
-
-
嵌套类概要
-
从类继承的嵌套类/接口 com.burukeyou.smartdi.register.BaseAutowiredBeanPostProcessor
BaseAutowiredBeanPostProcessor.AnnotatedFieldElement, BaseAutowiredBeanPostProcessor.AnnotatedInjectElement, BaseAutowiredBeanPostProcessor.AnnotatedInjectionMetadata
-
-
字段概要
-
从类继承的字段 com.burukeyou.smartdi.register.BaseSpringAware
beanClassLoader, beanDefinitionRegistry, beanFactory, beanName, environment
-
从类继承的字段 com.burukeyou.smartdi.config.SpringBeanContext
springContext
-
-
构造器概要
构造器 构造器 说明 SmartAutowiredBeanProcessor()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 ObjectgetInjectedBean(AutowiredInvocation invocation)How to obtain the beans that need to be injectedList<Class<? extends Annotation>>interceptAnnotation()Specify the injection annotations that need to be interceptedbooleanisSameClass(Class<?> class1, Class<?> class2)-
从类继承的方法 com.burukeyou.smartdi.register.BaseAutowiredBeanPostProcessor
beforeInjection, destroy, findFieldAnnotationMetadata, findInjectionMetadata, getAnnotationType, getOrder, postProcessBeanFactory, postProcessMergedBeanDefinition, postProcessProperties, resetBeanDefinition
-
从类继承的方法 com.burukeyou.smartdi.register.BaseSpringAware
getEnvironment, setApplicationContext, setBeanClassLoader, setBeanFactory, setBeanName, setEnvironment
-
从类继承的方法 com.burukeyou.smartdi.config.SpringBeanContext
getBean, getBean, getBeanByAliasName, getBeanByAllName, registerBeanAlias
-
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
-
-
方法详细资料
-
interceptAnnotation
public List<Class<? extends Annotation>> interceptAnnotation()
从接口复制的说明:AutowiredBeanProcessorSpecify the injection annotations that need to be intercepted- 返回:
- the custom autowired annotations
-
getInjectedBean
public Object getInjectedBean(AutowiredInvocation invocation)
从接口复制的说明:AutowiredBeanProcessorHow to obtain the beans that need to be injected- 参数:
invocation- Context information when injected- 返回:
- get inject bean
-
-