程序包的使用
com.alibaba.dubbo.config.spring.context.annotation
-
使用com.alibaba.dubbo.config.spring.context.annotation的程序包 程序包 说明 com.alibaba.dubbo.config.spring.context.annotation -
com.alibaba.dubbo.config.spring.context.annotation使用的com.alibaba.dubbo.config.spring.context.annotation中的类 类 说明 DubboComponentScan Dubbo Component ScanAnnotation
,scans the classpath for annotated components that will be auto-registered as Spring beans.EnableDubboConfig As a convenient and multipleEnableDubboConfigBinding
in default behavior , is equal to single bean bindings with below convention prefixes of properties:ApplicationConfig
binding to property : "dubbo.application"ModuleConfig
binding to property : "dubbo.module"RegistryConfig
binding to property : "dubbo.registry"ProtocolConfig
binding to property : "dubbo.protocol"MonitorConfig
binding to property : "dubbo.monitor"ProviderConfig
binding to property : "dubbo.provider"ConsumerConfig
binding to property : "dubbo.consumer"EnableDubboConfigBinding Enables Spring's annotation-drivenDubbo Config
fromproperties
.EnableDubboConfigBindings MultipleEnableDubboConfigBinding
Annotation