com.vaadin.flow.spring.annotation.

Annotation Interface SpringComponent

@Target(TYPE) @Retention(RUNTIME) @Documented @Component public @interface SpringComponent

Convenience alias for Component to prevent conflicts with Component.

Author:

Vaadin Ltd

  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description

    The value may indicate a suggestion for a logical component name, to be turned into a Spring bean in case of an autodetected component.

  • Element Details

    • value

      @AliasFor(annotation=org.springframework.stereotype.Component.class) String value

      The value may indicate a suggestion for a logical component name, to be turned into a Spring bean in case of an autodetected component.

      Returns:

      the suggested component name, if any

      See Also:

      • Component.value()

      Default:

      ""