JavaConfig 빈 엮기 Wire dependencies 원문 : Chapter 4. Wire dependencies bean을 묶기 위해서, 간단하게 Java의 문법을 사용할 수 있다. @Bean(scope = DefaultScopes.SINGLETON)public Person rod() { return new Person(“Rod Johnson”);} @Bean(scope = DefaultScopes.PROTOTYPE)public Book book() { Book book = new Book(“Expert One-on-One