All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.github.ximutech.spore.EnableSporeClients Maven / Gradle / Ivy

The newest version!
package io.github.ximutech.spore;

import org.springframework.context.annotation.Import;

import java.lang.annotation.*;

/**
 * 扫描使用@SporeClient注解的所有文件
 * @author ximu
 */
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
@Documented
@Import(SporeClientsRegistrar.class)
public @interface EnableSporeClients {

    String[] value() default {};

    /**
     * 根据包路径扫描
     *
     * @return basePackages
     */
    String[] basePackages() default {};

    Class[] basePackageClasses() default {};
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy