会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
小溪(潺潺流水,润泽千里)
博客园
首页
新随笔
联系
管理
2017年11月16日
@PostConstruct和@PreConstruct
摘要: 详情参见:https://www.cnblogs.com/landiljy/p/5764515.html 1.@PostConstruct说明 被@PostConstruct修饰的方法会在服务器加载Servlet的时候运行,并且只会被服务器调用一次,类似于Serclet的inti()方法。被@PostConstruct修饰的方法会在构造函数之后,init()方法之前运行。 2.@PreC...
阅读全文
posted @ 2017-11-16 17:43 huiy_小溪
阅读(240)
评论(0)
推荐(0)
编辑
公告