public annotation Autowired:
Annotation used to mark fields or constructor parameters that should be automatically injected with dependencies.
public class MyService: @Autowired private myRepository as Repository