com.github.vizaizai.boot.annotation.EnableEasyHttp Maven / Gradle / Ivy
package com.github.vizaizai.boot.annotation;
import com.github.vizaizai.boot.support.EasyClientSelector;
import org.springframework.context.annotation.Import;
import java.lang.annotation.*;
@Target({ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Import(EasyClientSelector.class)
public @interface EnableEasyHttp {
/**
* Alias for the {@link #basePackages()} attribute. Allows for more concise annotation
* declarations e.g.: {@code @ComponentScan("org.my.pkg")} instead of
* {@code @ComponentScan(basePackages="org.my.pkg")}.
* @return the array of 'basePackages'.
*/
String[] value() default {};
/**
* Base packages to scan for annotated components.
* @return the array of 'basePackages'.
*/
String[] basePackages() default {};;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy