Spring-MVCの散歩道 > Spring Boot の小径 > 第4歩 Spring Boot 匍匐前進 > コンポーネントスキャン
|
package jp.dip.arimodoki.blogic; import org.springframework.context.annotation.ComponentScan; import org.springframework.stereotype.Service; import jp.dip.arimodoki.model.FormHelloIf; @Service @ComponentScan("jp.dip.arimodoki.model") //コンポーネントスキャン public class BlHello implements BlHelloIf { //リクエストパラメータFormBean(コントローラから引き継ぎ) private FormHelloIf formHello; /** * FormBeanの継承 |