Search in sources :

Example 1 with H2cBindingParam

use of com.alipay.sofa.rpc.boot.runtime.param.H2cBindingParam in project sofa-boot by alipay.

the class H2cBindingConverter method convert.

@Override
public RpcBinding convert(SofaService sofaServiceAnnotation, SofaServiceBinding sofaServiceBindingAnnotation, BindingConverterContext bindingConverterContext) {
    RpcBindingParam bindingParam = new H2cBindingParam();
    convertServiceAnnotation(bindingParam, sofaServiceAnnotation, sofaServiceBindingAnnotation, bindingConverterContext);
    return new H2cBinding(bindingParam, bindingConverterContext.getApplicationContext(), bindingConverterContext.isInBinding());
}
Also used : H2cBinding(com.alipay.sofa.rpc.boot.runtime.binding.H2cBinding) H2cBindingParam(com.alipay.sofa.rpc.boot.runtime.param.H2cBindingParam) RpcBindingParam(com.alipay.sofa.rpc.boot.runtime.param.RpcBindingParam)

Example 2 with H2cBindingParam

use of com.alipay.sofa.rpc.boot.runtime.param.H2cBindingParam in project sofa-boot by alipay.

the class H2cBindingConverter method convert.

@Override
public RpcBinding convert(SofaReference sofaReferenceAnnotation, SofaReferenceBinding sofaReferenceBindingAnnotation, BindingConverterContext bindingConverterContext) {
    RpcBindingParam bindingParam = new H2cBindingParam();
    convertReferenceAnnotation(bindingParam, sofaReferenceBindingAnnotation, bindingConverterContext);
    return new H2cBinding(bindingParam, bindingConverterContext.getApplicationContext(), bindingConverterContext.isInBinding());
}
Also used : H2cBinding(com.alipay.sofa.rpc.boot.runtime.binding.H2cBinding) H2cBindingParam(com.alipay.sofa.rpc.boot.runtime.param.H2cBindingParam) RpcBindingParam(com.alipay.sofa.rpc.boot.runtime.param.RpcBindingParam)

Example 3 with H2cBindingParam

use of com.alipay.sofa.rpc.boot.runtime.param.H2cBindingParam in project sofa-boot by sofastack.

the class H2cBindingConverter method convert.

@Override
public RpcBinding convert(SofaService sofaServiceAnnotation, SofaServiceBinding sofaServiceBindingAnnotation, BindingConverterContext bindingConverterContext) {
    RpcBindingParam bindingParam = new H2cBindingParam();
    convertServiceAnnotation(bindingParam, sofaServiceAnnotation, sofaServiceBindingAnnotation, bindingConverterContext);
    return new H2cBinding(bindingParam, bindingConverterContext.getApplicationContext(), bindingConverterContext.isInBinding());
}
Also used : H2cBinding(com.alipay.sofa.rpc.boot.runtime.binding.H2cBinding) H2cBindingParam(com.alipay.sofa.rpc.boot.runtime.param.H2cBindingParam) RpcBindingParam(com.alipay.sofa.rpc.boot.runtime.param.RpcBindingParam)

Example 4 with H2cBindingParam

use of com.alipay.sofa.rpc.boot.runtime.param.H2cBindingParam in project sofa-boot by sofastack.

the class H2cBindingConverter method convert.

@Override
public RpcBinding convert(SofaReference sofaReferenceAnnotation, SofaReferenceBinding sofaReferenceBindingAnnotation, BindingConverterContext bindingConverterContext) {
    RpcBindingParam bindingParam = new H2cBindingParam();
    convertReferenceAnnotation(bindingParam, sofaReferenceBindingAnnotation, bindingConverterContext);
    return new H2cBinding(bindingParam, bindingConverterContext.getApplicationContext(), bindingConverterContext.isInBinding());
}
Also used : H2cBinding(com.alipay.sofa.rpc.boot.runtime.binding.H2cBinding) H2cBindingParam(com.alipay.sofa.rpc.boot.runtime.param.H2cBindingParam) RpcBindingParam(com.alipay.sofa.rpc.boot.runtime.param.RpcBindingParam)

Aggregations

H2cBinding (com.alipay.sofa.rpc.boot.runtime.binding.H2cBinding)4 H2cBindingParam (com.alipay.sofa.rpc.boot.runtime.param.H2cBindingParam)4 RpcBindingParam (com.alipay.sofa.rpc.boot.runtime.param.RpcBindingParam)4