use of com.alipay.sofa.rpc.boot.runtime.binding.DubboBinding in project sofa-boot by alipay.
the class DubboBindingConverter method convert.
@Override
public RpcBinding convert(SofaService sofaServiceAnnotation, SofaServiceBinding sofaServiceBindingAnnotation, BindingConverterContext bindingConverterContext) {
RpcBindingParam bindingParam = new DubboBindingParam();
convertServiceAnnotation(bindingParam, sofaServiceAnnotation, sofaServiceBindingAnnotation, bindingConverterContext);
return new DubboBinding(bindingParam, bindingConverterContext.getApplicationContext(), bindingConverterContext.isInBinding());
}
use of com.alipay.sofa.rpc.boot.runtime.binding.DubboBinding in project sofa-boot by alipay.
the class DubboBindingConverter method convert.
@Override
public RpcBinding convert(SofaReference sofaReferenceAnnotation, SofaReferenceBinding sofaReferenceBindingAnnotation, BindingConverterContext bindingConverterContext) {
RpcBindingParam bindingParam = new DubboBindingParam();
convertReferenceAnnotation(bindingParam, sofaReferenceBindingAnnotation, bindingConverterContext);
return new DubboBinding(bindingParam, bindingConverterContext.getApplicationContext(), bindingConverterContext.isInBinding());
}
use of com.alipay.sofa.rpc.boot.runtime.binding.DubboBinding in project sofa-boot by sofastack.
the class DubboBindingConverter method convert.
@Override
public RpcBinding convert(SofaReference sofaReferenceAnnotation, SofaReferenceBinding sofaReferenceBindingAnnotation, BindingConverterContext bindingConverterContext) {
RpcBindingParam bindingParam = new DubboBindingParam();
convertReferenceAnnotation(bindingParam, sofaReferenceBindingAnnotation, bindingConverterContext);
return new DubboBinding(bindingParam, bindingConverterContext.getApplicationContext(), bindingConverterContext.isInBinding());
}
use of com.alipay.sofa.rpc.boot.runtime.binding.DubboBinding in project sofa-boot by sofastack.
the class DubboBindingConverter method convert.
@Override
public RpcBinding convert(SofaService sofaServiceAnnotation, SofaServiceBinding sofaServiceBindingAnnotation, BindingConverterContext bindingConverterContext) {
RpcBindingParam bindingParam = new DubboBindingParam();
convertServiceAnnotation(bindingParam, sofaServiceAnnotation, sofaServiceBindingAnnotation, bindingConverterContext);
return new DubboBinding(bindingParam, bindingConverterContext.getApplicationContext(), bindingConverterContext.isInBinding());
}
Aggregations