类 ServiceAnnotationBeanPostProcessor

  • 所有已实现的接口:
    org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanClassLoaderAware, org.springframework.beans.factory.config.BeanFactoryPostProcessor, org.springframework.beans.factory.support.BeanDefinitionRegistryPostProcessor, org.springframework.context.EnvironmentAware, org.springframework.context.ResourceLoaderAware

    public class ServiceAnnotationBeanPostProcessor
    extends Object
    implements org.springframework.beans.factory.support.BeanDefinitionRegistryPostProcessor, org.springframework.context.EnvironmentAware, org.springframework.context.ResourceLoaderAware, org.springframework.beans.factory.BeanClassLoaderAware
    Service Annotation Bean Definition Registry Post Processor
    从以下版本开始:
    2.5.8
    • 构造器详细资料

      • ServiceAnnotationBeanPostProcessor

        public ServiceAnnotationBeanPostProcessor​(String... packagesToScan)
      • ServiceAnnotationBeanPostProcessor

        public ServiceAnnotationBeanPostProcessor​(Collection<String> packagesToScan)
      • ServiceAnnotationBeanPostProcessor

        public ServiceAnnotationBeanPostProcessor​(Set<String> packagesToScan)
    • 方法详细资料

      • postProcessBeanDefinitionRegistry

        public void postProcessBeanDefinitionRegistry​(org.springframework.beans.factory.support.BeanDefinitionRegistry registry)
                                               throws org.springframework.beans.BeansException
        指定者:
        postProcessBeanDefinitionRegistry 在接口中 org.springframework.beans.factory.support.BeanDefinitionRegistryPostProcessor
        抛出:
        org.springframework.beans.BeansException
      • postProcessBeanFactory

        public void postProcessBeanFactory​(org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory)
                                    throws org.springframework.beans.BeansException
        指定者:
        postProcessBeanFactory 在接口中 org.springframework.beans.factory.config.BeanFactoryPostProcessor
        抛出:
        org.springframework.beans.BeansException
      • setEnvironment

        public void setEnvironment​(org.springframework.core.env.Environment environment)
        指定者:
        setEnvironment 在接口中 org.springframework.context.EnvironmentAware
      • setResourceLoader

        public void setResourceLoader​(org.springframework.core.io.ResourceLoader resourceLoader)
        指定者:
        setResourceLoader 在接口中 org.springframework.context.ResourceLoaderAware
      • setBeanClassLoader

        public void setBeanClassLoader​(ClassLoader classLoader)
        指定者:
        setBeanClassLoader 在接口中 org.springframework.beans.factory.BeanClassLoaderAware