spring中的工廠原理簡單模擬

package service; import dao.User; import factory.Factory; public class Test { // private static User user = new UserImpl();//耦合度太高 private static User user = (User) Factory.getIntence().getBean("userd
相關文章
相關標籤/搜索