摘要: The Spring EL is similar with OGNL and JSF EL, and evaluated or executed during the bean creation time. In addition, all Spring expressions are availa... 阅读全文
posted @ 2015-08-21 20:30 wuhn 阅读(196) 评论(0) 推荐(0) 编辑
摘要: In Spring, you can either implements `InitializingBean` and `DisposableBean` interface or specify the `init-method` and `destroy-method` in bean confi... 阅读全文
posted @ 2015-08-21 19:36 wuhn 阅读(359) 评论(0) 推荐(0) 编辑
摘要: In Spring, you can use `init-method` and `destroy-method` as attribute in bean configuration file for bean to perform certain actions upon initializat... 阅读全文
posted @ 2015-08-21 17:01 wuhn 阅读(195) 评论(0) 推荐(0) 编辑
摘要: In Spring, `InitializingBean` and `DisposableBean` are two marker interfaces, a useful way for Spring to perform certain actions upon bean initializat... 阅读全文
posted @ 2015-08-21 16:58 wuhn 阅读(204) 评论(0) 推荐(0) 编辑
摘要: The `@Required` annotation is used to make sure a particular property has been set. If you are migrate your existing project to Spring framework or ha... 阅读全文
posted @ 2015-08-21 16:50 wuhn 阅读(221) 评论(0) 推荐(0) 编辑
摘要: Spring’s dependency checking in bean configuration file is used to make sure all properties of a certain types (primitive, collection or object) have ... 阅读全文
posted @ 2015-08-21 16:25 wuhn 阅读(203) 评论(0) 推荐(0) 编辑
摘要: In Spring,you can use dependency checking feature to make sure the required properties have been set or injected.##Dependency checking modes4 dependen... 阅读全文
posted @ 2015-08-21 16:21 wuhn 阅读(306) 评论(0) 推荐(0) 编辑
摘要: In Spring, the inheritance is supported in bean configuration for a bean to share common values, properties or configurations.A child bean or inherite... 阅读全文
posted @ 2015-08-21 16:13 wuhn 阅读(281) 评论(0) 推荐(0) 编辑