/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package org.demo.demo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.DependsOn;
import org.springframework.stereotype.Component;
/**
*
* @author pmr
*/
@Component
//@DependsOn("myService")
public class MyBean {
@Autowired
private MyService service;
}