| | |
| | | package com.vci.ubcs.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 ""; |
| | | |
| | | } |