Spring - Bean管理之配置(@PostConstruct、@PreDestroy、@Scope)

package com.imooc.demo2; import org.springframework.stereotype.Component; import javax.annotation.PostConstruct; import javax.annotation.PreDestroy; @Component("bean1") public class Bean1 { @Po
相關文章
相關標籤/搜索