Spring
夏咚
三无人员
展开
-
Spring 容器加载的三种方式
需要用到的几个类:1.IUserService :public interface IUserService { public void add();}2.UserServiceImpl:public class UserServiceImpl implements IUserService{ private String name; publi...原创 2019-07-15 11:47:26 · 229 阅读 · 0 评论 -
实例化Bean的三种方式
需要用到的几个类: IUserService : public interface IUserService { public void add();} UserServiceImpl: public class UserServiceImpl implements IUserService{ private String name; pub...原创 2019-07-15 12:11:58 · 151 阅读 · 0 评论