Search in sources :

Example 1 with TripleBindingParam

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

the class TripleBindingConverter method convert.

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

Example 2 with TripleBindingParam

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

the class TripleBindingConverter method convert.

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

Example 3 with TripleBindingParam

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

the class TripleBindingConverter method convert.

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

Example 4 with TripleBindingParam

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

the class TripleBindingConverter method convert.

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

Aggregations

TripleBinding (com.alipay.sofa.rpc.boot.runtime.binding.TripleBinding)4 RpcBindingParam (com.alipay.sofa.rpc.boot.runtime.param.RpcBindingParam)4 TripleBindingParam (com.alipay.sofa.rpc.boot.runtime.param.TripleBindingParam)4