Can you explain the difference between SpringComponent & Component
The project works this way and that =)
Can you explain the difference between SpringComponent & Component
The project works this way and that =)
The JavaDoc of SpringComponent
says:
/**
* Convenience alias for {@link org.springframework.stereotype.Component} to
* prevent conflicts with {@link com.vaadin.flow.component.Component}.
*
* @author Vaadin Ltd
*/
@Target(java.lang.annotation.ElementType.TYPE)
@Retention(java.lang.annotation.RetentionPolicy.RUNTIME)
@Documented
@Component
public @interface SpringComponent {