Spring
iteye_4596
这个作者很懒,什么都没留下…
展开
-
spring拦截器的一个简单例子
转自:[url]http://blog.csdn.net/yirentianran/article/details/3380529[/url]今天在SSH中用到spring拦截器,所以先在一个只有spring的测试项目中写了一个拦截器的一个简单例子,结果还遇到了一点小错误,一下就按时间发展顺序记述.Purview接口. 1. package aop; 2....原创 2011-08-03 18:04:05 · 72 阅读 · 0 评论 -
3.5.1.2.2. Shutting down the Spring IoC container gracefully in non-web applicat
[quote]http://static.springsource.org/spring/docs/2.0.x/reference/beans.html[/quote] NoteThis next section does not apply to web applications (in case the title of this section did not make that a...原创 2011-08-25 15:05:59 · 162 阅读 · 0 评论 -
spring的init-method和destroy-method方法使用
[url]http://static.springsource.org/spring/docs/2.0.x/reference/beans.html[/url]3.5.1.2. Destruction callbacks destroy-method指定了当要销毁bean datasource之前要做的操作,也就是这个bean的收尾工作。这里是指定了close()方法。...原创 2011-08-26 09:23:52 · 303 阅读 · 0 评论