Search in sources :

Example 1 with BindingConverterFactoryImpl

use of com.alipay.sofa.runtime.service.impl.BindingConverterFactoryImpl in project sofa-boot by sofastack.

the class RuntimeTestConfiguration method bindingConverterFactory.

@Bean
public static BindingConverterFactory bindingConverterFactory() {
    BindingConverterFactory bindingConverterFactory = new BindingConverterFactoryImpl();
    bindingConverterFactory.addBindingConverters(getClassesByServiceLoader(BindingConverter.class));
    return bindingConverterFactory;
}
Also used : BindingConverterFactory(com.alipay.sofa.runtime.spi.service.BindingConverterFactory) BindingConverterFactoryImpl(com.alipay.sofa.runtime.service.impl.BindingConverterFactoryImpl) BindingConverter(com.alipay.sofa.runtime.spi.service.BindingConverter) ConditionalOnMissingBean(org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean) Bean(org.springframework.context.annotation.Bean)

Example 2 with BindingConverterFactoryImpl

use of com.alipay.sofa.runtime.service.impl.BindingConverterFactoryImpl in project sofa-boot by alipay.

the class RuntimeConfiguration method bindingConverterFactory.

@Bean
public static BindingConverterFactory bindingConverterFactory() {
    BindingConverterFactory bindingConverterFactory = new BindingConverterFactoryImpl();
    bindingConverterFactory.addBindingConverters(getClassesByServiceLoader(BindingConverter.class));
    return bindingConverterFactory;
}
Also used : BindingConverterFactory(com.alipay.sofa.runtime.spi.service.BindingConverterFactory) BindingConverterFactoryImpl(com.alipay.sofa.runtime.service.impl.BindingConverterFactoryImpl) BindingConverter(com.alipay.sofa.runtime.spi.service.BindingConverter) ConditionalOnMissingBean(org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean) Bean(org.springframework.context.annotation.Bean)

Example 3 with BindingConverterFactoryImpl

use of com.alipay.sofa.runtime.service.impl.BindingConverterFactoryImpl in project sofa-boot by alipay.

the class RuntimeTestConfiguration method bindingConverterFactory.

@Bean
public static BindingConverterFactory bindingConverterFactory() {
    BindingConverterFactory bindingConverterFactory = new BindingConverterFactoryImpl();
    bindingConverterFactory.addBindingConverters(getClassesByServiceLoader(BindingConverter.class));
    return bindingConverterFactory;
}
Also used : BindingConverterFactory(com.alipay.sofa.runtime.spi.service.BindingConverterFactory) BindingConverterFactoryImpl(com.alipay.sofa.runtime.service.impl.BindingConverterFactoryImpl) BindingConverter(com.alipay.sofa.runtime.spi.service.BindingConverter) ConditionalOnMissingBean(org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean) Bean(org.springframework.context.annotation.Bean)

Example 4 with BindingConverterFactoryImpl

use of com.alipay.sofa.runtime.service.impl.BindingConverterFactoryImpl in project sofa-boot by alipay.

the class SofaRuntimeAutoConfiguration method bindingConverterFactory.

@Bean
@ConditionalOnMissingBean
public static BindingConverterFactory bindingConverterFactory() {
    BindingConverterFactory bindingConverterFactory = new BindingConverterFactoryImpl();
    bindingConverterFactory.addBindingConverters(getClassesByServiceLoader(BindingConverter.class));
    return bindingConverterFactory;
}
Also used : BindingConverterFactory(com.alipay.sofa.runtime.spi.service.BindingConverterFactory) BindingConverterFactoryImpl(com.alipay.sofa.runtime.service.impl.BindingConverterFactoryImpl) BindingConverter(com.alipay.sofa.runtime.spi.service.BindingConverter) ConditionalOnMissingBean(org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean) ConditionalOnMissingBean(org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean) Bean(org.springframework.context.annotation.Bean)

Example 5 with BindingConverterFactoryImpl

use of com.alipay.sofa.runtime.service.impl.BindingConverterFactoryImpl in project sofa-boot by alipay.

the class SofaFrameworkInitializer method createBindingConverterFactory.

private static BindingConverterFactory createBindingConverterFactory() {
    BindingConverterFactory sofaBootBindingConverterFactory = new BindingConverterFactoryImpl();
    sofaBootBindingConverterFactory.addBindingConverters(getClassesByServiceLoader(BindingConverter.class));
    return sofaBootBindingConverterFactory;
}
Also used : BindingConverterFactory(com.alipay.sofa.runtime.spi.service.BindingConverterFactory) BindingConverterFactoryImpl(com.alipay.sofa.runtime.service.impl.BindingConverterFactoryImpl) BindingConverter(com.alipay.sofa.runtime.spi.service.BindingConverter)

Aggregations

BindingConverterFactoryImpl (com.alipay.sofa.runtime.service.impl.BindingConverterFactoryImpl)11 BindingConverter (com.alipay.sofa.runtime.spi.service.BindingConverter)11 BindingConverterFactory (com.alipay.sofa.runtime.spi.service.BindingConverterFactory)11 ConditionalOnMissingBean (org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean)8 Bean (org.springframework.context.annotation.Bean)8 BoltBindingConverter (com.alipay.sofa.rpc.boot.runtime.converter.BoltBindingConverter)2 RpcBindingConverter (com.alipay.sofa.rpc.boot.runtime.converter.RpcBindingConverter)2 Test (org.junit.Test)2