Class ServiceBeanIdConflictProcessor
java.lang.Object
org.apache.dubbo.spring.boot.config.ServiceBeanIdConflictProcessor
- All Implemented Interfaces:
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
Deprecated.
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.
- Since:
- 2.7.7
- See Also:
-
Field Summary
Fields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddestroy()Deprecated.intgetOrder()Deprecated.Keep the order being higher thanInitDestroyAnnotationBeanPostProcessor.getOrder()that isOrdered.LOWEST_PRECEDENCEpostProcessAfterInitialization(Object bean, String beanName) Deprecated.postProcessBeforeInitialization(Object bean, String beanName) Deprecated.voidpostProcessMergedBeanDefinition(org.springframework.beans.factory.support.RootBeanDefinition beanDefinition, Class<?> beanType, String beanName) Deprecated.Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.beans.factory.support.MergedBeanDefinitionPostProcessor
resetBeanDefinition
-
Constructor Details
-
ServiceBeanIdConflictProcessor
public ServiceBeanIdConflictProcessor()Deprecated.
-
-
Method Details
-
postProcessMergedBeanDefinition
public void postProcessMergedBeanDefinition(org.springframework.beans.factory.support.RootBeanDefinition beanDefinition, Class<?> beanType, String beanName) Deprecated.- Specified by:
postProcessMergedBeanDefinitionin interfaceorg.springframework.beans.factory.support.MergedBeanDefinitionPostProcessor
-
postProcessBeforeInitialization
public Object postProcessBeforeInitialization(Object bean, String beanName) throws org.springframework.beans.BeansException Deprecated.- Specified by:
postProcessBeforeInitializationin interfaceorg.springframework.beans.factory.config.BeanPostProcessor- Throws:
org.springframework.beans.BeansException
-
postProcessAfterInitialization
public Object postProcessAfterInitialization(Object bean, String beanName) throws org.springframework.beans.BeansException Deprecated.- Specified by:
postProcessAfterInitializationin interfaceorg.springframework.beans.factory.config.BeanPostProcessor- Throws:
org.springframework.beans.BeansException
-
getOrder
public int getOrder()Deprecated.Keep the order being higher thanInitDestroyAnnotationBeanPostProcessor.getOrder()that isOrdered.LOWEST_PRECEDENCE- Specified by:
getOrderin interfaceorg.springframework.core.Ordered- Returns:
Ordered.LOWEST_PRECEDENCE+1
-
destroy
Deprecated.- Specified by:
destroyin interfaceorg.springframework.beans.factory.DisposableBean- Throws:
Exception
-