Search in sources :

Example 1 with DubboBinding

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());
}
Also used : DubboBindingParam(com.alipay.sofa.rpc.boot.runtime.param.DubboBindingParam) DubboBinding(com.alipay.sofa.rpc.boot.runtime.binding.DubboBinding) RpcBindingParam(com.alipay.sofa.rpc.boot.runtime.param.RpcBindingParam)

Example 2 with DubboBinding

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());
}
Also used : DubboBindingParam(com.alipay.sofa.rpc.boot.runtime.param.DubboBindingParam) DubboBinding(com.alipay.sofa.rpc.boot.runtime.binding.DubboBinding) RpcBindingParam(com.alipay.sofa.rpc.boot.runtime.param.RpcBindingParam)

Example 3 with DubboBinding

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());
}
Also used : DubboBindingParam(com.alipay.sofa.rpc.boot.runtime.param.DubboBindingParam) DubboBinding(com.alipay.sofa.rpc.boot.runtime.binding.DubboBinding) RpcBindingParam(com.alipay.sofa.rpc.boot.runtime.param.RpcBindingParam)

Example 4 with DubboBinding

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());
}
Also used : DubboBindingParam(com.alipay.sofa.rpc.boot.runtime.param.DubboBindingParam) DubboBinding(com.alipay.sofa.rpc.boot.runtime.binding.DubboBinding) RpcBindingParam(com.alipay.sofa.rpc.boot.runtime.param.RpcBindingParam)

Aggregations

DubboBinding (com.alipay.sofa.rpc.boot.runtime.binding.DubboBinding)4 DubboBindingParam (com.alipay.sofa.rpc.boot.runtime.param.DubboBindingParam)4 RpcBindingParam (com.alipay.sofa.rpc.boot.runtime.param.RpcBindingParam)4