上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 40 下一页
摘要: Spring EL supports ternary operator , perform “if then else” conditional checking. For example,```condition ? true : false```##Spring EL in Annotation... 阅读全文
posted @ 2015-08-22 09:33 wuhn 阅读(213) 评论(0) 推荐(0) 编辑
摘要: Spring EL supports most of the standard mathematical, logical or relational operators. For example,- Relational operators – equal (`==`, `eq`), not eq... 阅读全文
posted @ 2015-08-22 09:30 wuhn 阅读(167) 评论(0) 推荐(0) 编辑
摘要: In Spring EL, you can reference a bean, and nested properties using a ‘dot (`.`)‘ symbol. For example, “`bean.property_name`“.```public class Customer... 阅读全文
posted @ 2015-08-22 09:20 wuhn 阅读(178) 评论(0) 推荐(0) 编辑
摘要: 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) 编辑
上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 40 下一页