提交 17055c3a 编写于 作者: Mars_prime's avatar Mars_prime

上传新文件

上级 b2264dc7
package zhengyi.ui;
import zhengyi.factory.BeanFactory;
import zhengyi.service.IAccountService;
import zhengyi.service.impl.AccountServiceImpl;
public class Client {
public static void main(String[] args) {
//IAccountService as=new AccountServiceImpl();
for(int i=0;i<5;i++) {
IAccountService as = (IAccountService) BeanFactory.getBean("accountService");
System.out.println(as);
as.saveAccount();
}
}
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册