Constructor injection is also recommended with Spring, see this spring-kotlin FAQ entry for more details.