@Configuration(proxyBeanMethods=false)
@Import(value={DubboServiceMetadataRepository.class,IntrospectiveDubboMetadataService.class,DubboMetadataServiceExporter.class,JSONUtils.class,DubboMetadataServiceProxy.class,DubboMetadataUtils.class})
public class DubboMetadataAutoConfiguration
extends Object
| Constructor and Description |
|---|
DubboMetadataAutoConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
Supplier<org.apache.dubbo.config.ProtocolConfig> |
dubboProtocolConfigSupplier(org.springframework.beans.factory.ObjectProvider<Collection<org.apache.dubbo.config.ProtocolConfig>> protocols) |
MetadataResolver |
metadataJsonResolver(org.springframework.beans.factory.ObjectProvider<feign.Contract> contract) |
ServiceInstanceSelector |
metadataServiceInstanceSelector() |
void |
onApplicationFailed() |
void |
onContextClosed() |
void |
onServiceBeanExported(org.apache.dubbo.config.spring.context.event.ServiceBeanExportedEvent event) |
@Bean @ConditionalOnMissingBean public MetadataResolver metadataJsonResolver(org.springframework.beans.factory.ObjectProvider<feign.Contract> contract)
@Bean @ConditionalOnMissingBean public ServiceInstanceSelector metadataServiceInstanceSelector()
@Bean public Supplier<org.apache.dubbo.config.ProtocolConfig> dubboProtocolConfigSupplier(org.springframework.beans.factory.ObjectProvider<Collection<org.apache.dubbo.config.ProtocolConfig>> protocols)
@EventListener(value=org.apache.dubbo.config.spring.context.event.ServiceBeanExportedEvent.class) public void onServiceBeanExported(org.apache.dubbo.config.spring.context.event.ServiceBeanExportedEvent event)
@EventListener(value=org.springframework.boot.context.event.ApplicationFailedEvent.class) public void onApplicationFailed()
@EventListener(value=org.springframework.context.event.ContextClosedEvent.class) public void onContextClosed()
Copyright © 2021 Pivotal Software, Inc.. All rights reserved.