Search in sources :

Example 1 with SpringRSocketService

use of com.alibaba.rsocket.spring.SpringRSocketService in project alibaba-rsocket-broker by alibaba.

the class RSocketServiceAnnotationProcessor method scanRSocketServiceAnnotation.

protected void scanRSocketServiceAnnotation(Object bean, String beanName) {
    Class<?> managedBeanClass = bean.getClass();
    RSocketService reactiveService = AnnotationUtils.findAnnotation(managedBeanClass, RSocketService.class);
    if (reactiveService != null) {
        registerRSocketService(reactiveService, bean);
    }
    SpringRSocketService springRSocketService = AnnotationUtils.findAnnotation(managedBeanClass, SpringRSocketService.class);
    if (springRSocketService != null) {
        registerRSocketService(springRSocketService, bean);
    }
}
Also used : SpringRSocketService(com.alibaba.rsocket.spring.SpringRSocketService) RSocketService(com.alibaba.rsocket.RSocketService) SpringRSocketService(com.alibaba.rsocket.spring.SpringRSocketService)

Aggregations

RSocketService (com.alibaba.rsocket.RSocketService)1 SpringRSocketService (com.alibaba.rsocket.spring.SpringRSocketService)1