类 ServiceBeanIdConflictProcessor

  • 所有已实现的接口:
    org.springframework.beans.factory.config.BeanPostProcessor, org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.support.MergedBeanDefinitionPostProcessor, org.springframework.core.Ordered, org.springframework.core.PriorityOrdered

    public class ServiceBeanIdConflictProcessor
    extends Object
    implements org.springframework.beans.factory.support.MergedBeanDefinitionPostProcessor, org.springframework.beans.factory.DisposableBean, org.springframework.core.PriorityOrdered
    已过时。
    The post-processor for resolving the id conflict of ServiceBean when an interface is implemented by multiple services with different groups or versions that are exported on one provider

    Current implementation is a temporary resolution, and will be removed in the future.

    从以下版本开始:
    2.7.7
    另请参阅:
    CommonAnnotationBeanPostProcessor
    • 构造器详细资料

      • ServiceBeanIdConflictProcessor

        public ServiceBeanIdConflictProcessor()
        已过时。
    • 方法详细资料

      • postProcessMergedBeanDefinition

        public void postProcessMergedBeanDefinition​(org.springframework.beans.factory.support.RootBeanDefinition beanDefinition,
                                                    Class<?> beanType,
                                                    String beanName)
        已过时。
        指定者:
        postProcessMergedBeanDefinition 在接口中 org.springframework.beans.factory.support.MergedBeanDefinitionPostProcessor
      • postProcessBeforeInitialization

        public Object postProcessBeforeInitialization​(Object bean,
                                                      String beanName)
                                               throws org.springframework.beans.BeansException
        已过时。
        指定者:
        postProcessBeforeInitialization 在接口中 org.springframework.beans.factory.config.BeanPostProcessor
        抛出:
        org.springframework.beans.BeansException
      • postProcessAfterInitialization

        public Object postProcessAfterInitialization​(Object bean,
                                                     String beanName)
                                              throws org.springframework.beans.BeansException
        已过时。
        指定者:
        postProcessAfterInitialization 在接口中 org.springframework.beans.factory.config.BeanPostProcessor
        抛出:
        org.springframework.beans.BeansException
      • getOrder

        public int getOrder()
        已过时。
        Keep the order being higher than InitDestroyAnnotationBeanPostProcessor.getOrder() that is Ordered.LOWEST_PRECEDENCE
        指定者:
        getOrder 在接口中 org.springframework.core.Ordered
        返回:
        Ordered.LOWEST_PRECEDENCE +1
      • destroy

        public void destroy()
                     throws Exception
        已过时。
        指定者:
        destroy 在接口中 org.springframework.beans.factory.DisposableBean
        抛出:
        Exception