public class ServiceBeanIdConflictProcessor extends Object implements org.springframework.beans.factory.support.MergedBeanDefinitionPostProcessor, org.springframework.beans.factory.DisposableBean, org.springframework.core.PriorityOrdered
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.
CommonAnnotationBeanPostProcessor| Constructor and Description |
|---|
ServiceBeanIdConflictProcessor()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
destroy()
Deprecated.
|
int |
getOrder()
Deprecated.
Keep the order being higher than
InitDestroyAnnotationBeanPostProcessor.getOrder() that is
Ordered.LOWEST_PRECEDENCE |
Object |
postProcessAfterInitialization(Object bean,
String beanName)
Deprecated.
|
Object |
postProcessBeforeInitialization(Object bean,
String beanName)
Deprecated.
|
void |
postProcessMergedBeanDefinition(org.springframework.beans.factory.support.RootBeanDefinition beanDefinition,
Class<?> beanType,
String beanName)
Deprecated.
|
public ServiceBeanIdConflictProcessor()
public void postProcessMergedBeanDefinition(org.springframework.beans.factory.support.RootBeanDefinition beanDefinition,
Class<?> beanType,
String beanName)
postProcessMergedBeanDefinition in interface org.springframework.beans.factory.support.MergedBeanDefinitionPostProcessorpublic Object postProcessBeforeInitialization(Object bean, String beanName) throws org.springframework.beans.BeansException
postProcessBeforeInitialization in interface org.springframework.beans.factory.config.BeanPostProcessororg.springframework.beans.BeansExceptionpublic Object postProcessAfterInitialization(Object bean, String beanName) throws org.springframework.beans.BeansException
postProcessAfterInitialization in interface org.springframework.beans.factory.config.BeanPostProcessororg.springframework.beans.BeansExceptionpublic int getOrder()
InitDestroyAnnotationBeanPostProcessor.getOrder() that is
Ordered.LOWEST_PRECEDENCEgetOrder in interface org.springframework.core.OrderedOrdered.LOWEST_PRECEDENCE +1Copyright © 2011–2021 The Apache Software Foundation. All rights reserved.