com.alibaba.spring.boot.rsocket.broker.supporting.RSocketLocalService Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of alibaba-broker-spring-boot-starter Show documentation
Show all versions of alibaba-broker-spring-boot-starter Show documentation
Alibaba RSocket Broker Spring Boot Starter for extension
package com.alibaba.spring.boot.rsocket.broker.supporting;
import org.springframework.stereotype.Service;
import java.lang.annotation.*;
/**
* rsocket local Service annotation for broker
*
* @author leijuan
*/
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Inherited
@Service
public @interface RSocketLocalService {
/**
* service interface
*
* @return service interface
*/
Class serviceInterface();
/**
* service name
*
* @return service name
*/
String name() default "";
/**
* service version
*
* @return version
*/
String version() default "";
/**
* encoding strategies
*
* @return encoding names
*/
String[] encoding() default {"hessian", "json", "protobuf"};
/**
* service catalogs, almost like tags
*
* @return catalogs
*/
String[] catalogs() default {};
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy