public abstract class RpcBindingConverter extends Object implements com.alipay.sofa.runtime.spi.service.BindingConverter<RpcBindingParam,RpcBinding>
RpcBindingParam 为 RpcBinding| 构造器和说明 |
|---|
RpcBindingConverter() |
| 限定符和类型 | 方法和说明 |
|---|---|
RpcBinding |
convert(Element element,
com.alipay.sofa.runtime.spi.service.BindingConverterContext bindingConverterContext)
convert xml Element to concrete
RpcBinding |
RpcBinding |
convert(RpcBindingParam bindingParam,
com.alipay.sofa.runtime.spi.service.BindingConverterContext bindingConverterContext)
convert
RpcBindingParam to concrete RpcBinding |
RpcBinding |
convert(com.alipay.sofa.runtime.api.annotation.SofaReference sofaReferenceAnnotation,
com.alipay.sofa.runtime.api.annotation.SofaReferenceBinding sofaReferenceBindingAnnotation,
com.alipay.sofa.runtime.spi.service.BindingConverterContext bindingConverterContext)
transfer sofareference annotation
|
RpcBinding |
convert(com.alipay.sofa.runtime.api.annotation.SofaService sofaServiceAnnotation,
com.alipay.sofa.runtime.api.annotation.SofaServiceBinding sofaServiceBindingAnnotation,
com.alipay.sofa.runtime.spi.service.BindingConverterContext bindingConverterContext)
transfer sofa service annotation
|
protected abstract RpcBinding |
createRpcBinding(RpcBindingParam bindingParam,
org.springframework.context.ApplicationContext applicationContext,
boolean inBinding)
创建 RpcBinding
|
protected abstract RpcBindingParam |
createRpcBindingParam()
创建 RpcBindingParam
|
public RpcBinding convert(RpcBindingParam bindingParam, com.alipay.sofa.runtime.spi.service.BindingConverterContext bindingConverterContext)
RpcBindingParam to concrete RpcBindingconvert 在接口中 com.alipay.sofa.runtime.spi.service.BindingConverter<RpcBindingParam,RpcBinding>bindingParam - binding parameterbindingConverterContext - binding converter contextpublic RpcBinding convert(Element element, com.alipay.sofa.runtime.spi.service.BindingConverterContext bindingConverterContext)
RpcBindingconvert 在接口中 com.alipay.sofa.runtime.spi.service.BindingConverter<RpcBindingParam,RpcBinding>element - xml ElementbindingConverterContext - binding converter contextprotected abstract RpcBinding createRpcBinding(RpcBindingParam bindingParam, org.springframework.context.ApplicationContext applicationContext, boolean inBinding)
bindingParam - the RpcBindingParamapplicationContext - spring 上下文inBinding - 是否是服务引用protected abstract RpcBindingParam createRpcBindingParam()
public RpcBinding convert(com.alipay.sofa.runtime.api.annotation.SofaService sofaServiceAnnotation, com.alipay.sofa.runtime.api.annotation.SofaServiceBinding sofaServiceBindingAnnotation, com.alipay.sofa.runtime.spi.service.BindingConverterContext bindingConverterContext)
convert 在接口中 com.alipay.sofa.runtime.spi.service.BindingConverter<RpcBindingParam,RpcBinding>sofaServiceAnnotation - sofaServiceBindingAnnotation - bindingConverterContext - public RpcBinding convert(com.alipay.sofa.runtime.api.annotation.SofaReference sofaReferenceAnnotation, com.alipay.sofa.runtime.api.annotation.SofaReferenceBinding sofaReferenceBindingAnnotation, com.alipay.sofa.runtime.spi.service.BindingConverterContext bindingConverterContext)
convert 在接口中 com.alipay.sofa.runtime.spi.service.BindingConverter<RpcBindingParam,RpcBinding>sofaReferenceAnnotation - sofaReferenceBindingAnnotation - bindingConverterContext - Copyright © 2018 Pivotal Software, Inc.. All rights reserved.