Search in sources :

Example 1 with AnnotationBean

use of com.weibo.api.motan.config.springsupport.AnnotationBean in project motan by weibocom.

the class SpringBootRpcServerDemo method motanAnnotationBean.

@Bean
public AnnotationBean motanAnnotationBean() {
    AnnotationBean motanAnnotationBean = new AnnotationBean();
    motanAnnotationBean.setPackage("com.weibo.motan.demo.server");
    return motanAnnotationBean;
}
Also used : AnnotationBean(com.weibo.api.motan.config.springsupport.AnnotationBean) ProtocolConfigBean(com.weibo.api.motan.config.springsupport.ProtocolConfigBean) AnnotationBean(com.weibo.api.motan.config.springsupport.AnnotationBean) BasicServiceConfigBean(com.weibo.api.motan.config.springsupport.BasicServiceConfigBean) Bean(org.springframework.context.annotation.Bean) RegistryConfigBean(com.weibo.api.motan.config.springsupport.RegistryConfigBean)

Example 2 with AnnotationBean

use of com.weibo.api.motan.config.springsupport.AnnotationBean in project motan by weibocom.

the class SpringBootRpcClientDemo method motanAnnotationBean.

@Bean
public AnnotationBean motanAnnotationBean() {
    AnnotationBean motanAnnotationBean = new AnnotationBean();
    motanAnnotationBean.setPackage("com.weibo.motan.demo.client");
    return motanAnnotationBean;
}
Also used : AnnotationBean(com.weibo.api.motan.config.springsupport.AnnotationBean) ProtocolConfigBean(com.weibo.api.motan.config.springsupport.ProtocolConfigBean) BasicRefererConfigBean(com.weibo.api.motan.config.springsupport.BasicRefererConfigBean) AnnotationBean(com.weibo.api.motan.config.springsupport.AnnotationBean) Bean(org.springframework.context.annotation.Bean) RegistryConfigBean(com.weibo.api.motan.config.springsupport.RegistryConfigBean)

Example 3 with AnnotationBean

use of com.weibo.api.motan.config.springsupport.AnnotationBean in project motan by weibocom.

the class SpringBootRpcServerDemo method motanAnnotationBean.

@Bean
public AnnotationBean motanAnnotationBean() {
    AnnotationBean motanAnnotationBean = new AnnotationBean();
    motanAnnotationBean.setPackage("com.weibo.motan.demo.server");
    return motanAnnotationBean;
}
Also used : AnnotationBean(com.weibo.api.motan.config.springsupport.AnnotationBean) ProtocolConfigBean(com.weibo.api.motan.config.springsupport.ProtocolConfigBean) AnnotationBean(com.weibo.api.motan.config.springsupport.AnnotationBean) BasicServiceConfigBean(com.weibo.api.motan.config.springsupport.BasicServiceConfigBean) Bean(org.springframework.context.annotation.Bean) RegistryConfigBean(com.weibo.api.motan.config.springsupport.RegistryConfigBean)

Aggregations

AnnotationBean (com.weibo.api.motan.config.springsupport.AnnotationBean)3 ProtocolConfigBean (com.weibo.api.motan.config.springsupport.ProtocolConfigBean)3 RegistryConfigBean (com.weibo.api.motan.config.springsupport.RegistryConfigBean)3 Bean (org.springframework.context.annotation.Bean)3 BasicServiceConfigBean (com.weibo.api.motan.config.springsupport.BasicServiceConfigBean)2 BasicRefererConfigBean (com.weibo.api.motan.config.springsupport.BasicRefererConfigBean)1