Router Exception Handling and Spring beans injection ?

https://vaadin.com/docs/v10/flow/routing/tutorial-routing-exception-handling.html

Can I leverage in Spring boot (with vaadin-spring-boot-starter) application,
member variables with @Autowired annotation inside

@Tag(Tag.DIV)
public class RouteNotFoundError extends Component
        implements HasErrorParameter<NotFoundException> {

to inject beans, that are declared in Spring context ?