ludc
2023-05-30 695e4a085727ef5017597dd1ab72a47d0e9883e6
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
package com.vci.ubcs.code.webService.annotation;
 
import org.springframework.core.annotation.AliasFor;
import org.springframework.stereotype.Component;
 
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
 
/**
 * webservice的实现类
 * @author weidy
 * @date 2022-08-27
 */
@Target({ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Component
public @interface VciWebservice {
 
    /**
     * bean的名称
     * @return
     */
    @AliasFor(
        annotation = Component.class
    )
    String value() default "";
 
    /**
     * 路径,默认等于当前bean的名字
     * @return 路径
     */
    String path() default "";
 
}