If a service bean depends on another: is there any difference between injecting that bean as a method parameter, or fetching from the method reference directly?
@Configuration
public class MyConfig {
   @Bean
   public SomeService some() {
      return new SomeService();
   }
   @Bean
   public AddService add(SomeService some) {
      return new AddService(some);
   }
   //alternative:
   //@Bean
   //public AddService add() {
   //   return new AddService(some());
   //}
}
 
    