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

com.github.bingoohuang.springrestclient.spring.SpringRestClientEnabledScan Maven / Gradle / Ivy

There is a newer version: 0.0.23
Show newest version
package com.github.bingoohuang.springrestclient.spring;

import org.springframework.beans.factory.support.BeanNameGenerator;
import org.springframework.context.annotation.Import;

import java.lang.annotation.*;

@Documented
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Import(SpringRestClientScannerRegistrar.class)
public @interface SpringRestClientEnabledScan {

    // Alias for the {@link #basePackages()} attribute. Allows for more concise annotation declarations.
    String[] value() default {};

    /*
     * Base packages to scan for MyBatis interfaces. Note that only interfaces
     * with at least one method will be registered; concrete classes will be
     * ignored.
     */
    String[] basePackages() default {};

    /*
     * Type-safe alternative to {@link #basePackages()} for specifying the packages
     * to scan for annotated components. The package of each class specified will be scanned.
     * 

Consider creating a special no-op marker class or interface in each package * that serves no purpose other than being referenced by this attribute. */ Class[] basePackageClasses() default {}; /* * The {@link BeanNameGenerator} class to be used for naming detected components * within the Spring container. */ Class nameGenerator() default BeanNameGenerator.class; }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy