
cn.gitlab.virtualcry.sapjco.spring.annotation.JCoComponent Maven / Gradle / Ivy
package cn.gitlab.virtualcry.sapjco.spring.annotation;
import org.springframework.stereotype.Component;
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
@Component
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 - 2025 Weber Informatics LLC | Privacy Policy