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

cn.gitlab.virtualcry.sapjco.spring.annotation.JCoComponent Maven / Gradle / Ivy

package cn.gitlab.virtualcry.sapjco.spring.annotation;

import java.lang.annotation.*;

/**
 * Indicates that an annotated class is a "JCoBean".
 * Such classes are considered as candidates for auto-detection
 * when using annotation-based configuration and classpath scanning.
 *
 * @author VirtualCry
 * @see org.springframework.context.annotation.ClassPathBeanDefinitionScanner
 */
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface JCoComponent {

    /**
     * The value may indicate a suggestion for a logical component name,
     * to be turned into a Spring bean in case of an autodetected component.
     * @return the suggested component name, if any
     */
    String value() default "";
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy