ludc
2023-05-17 ed5768da1363742eee34c6c71db010099da6fad8
Source/UBCS/ubcs-service/ubcs-webservice/src/main/java/com/vci/ubcs/webservice/annotation/VciWebservice.java
@@ -0,0 +1,36 @@
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 "";
}