上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 40 下一页
摘要: In Spring, “Autowiring by AutoDetect“, means chooses “autowire by constructor” if default constructor (argument with any data type), otherwise uses “a... 阅读全文
posted @ 2015-08-22 13:03 wuhn 阅读(277) 评论(0) 推荐(0) 编辑
摘要: In Spring, “Autowiring by Constructor” is actually autowiring by Type in constructor argument. It means, if data type of a bean is same as the data ty... 阅读全文
posted @ 2015-08-22 11:41 wuhn 阅读(248) 评论(0) 推荐(0) 编辑
摘要: In Spring, “Autowiring by Name” means, if the name of a bean is same as the name of other bean property, auto wire it.For example, if a “`customer`” b... 阅读全文
posted @ 2015-08-22 11:38 wuhn 阅读(224) 评论(0) 推荐(0) 编辑
摘要: In Spring, “Autowiring by Type” means, if data type of a bean is compatible with the data type of other bean property, auto wire it.For example, a “`p... 阅读全文
posted @ 2015-08-22 11:35 wuhn 阅读(209) 评论(0) 推荐(0) 编辑
摘要: In Spring framework, you can wire beans automatically with auto-wiring feature. To enable it, just define the “`autowire`” attribute in ``.``` ```In S... 阅读全文
posted @ 2015-08-22 11:30 wuhn 阅读(208) 评论(0) 推荐(0) 编辑
摘要: In this Spring auto component scanning tutorial, you learn about how to make Spring auto scan your components. In this article, we show you how to do ... 阅读全文
posted @ 2015-08-22 11:07 wuhn 阅读(175) 评论(0) 推荐(0) 编辑
摘要: Normally you declare all the beans or components in XML bean configuration file, so that Spring container can detect and register your beans or compon... 阅读全文
posted @ 2015-08-22 11:04 wuhn 阅读(234) 评论(0) 推荐(0) 编辑
摘要: Spring expression language (SpEL) supports many functionality, and you can test those expression features with this special “`ExpressionParser`” inter... 阅读全文
posted @ 2015-08-22 10:54 wuhn 阅读(352) 评论(0) 推荐(0) 编辑
摘要: Spring EL supports regular expression using a simple keyword “`matches`“, which is really awesome! For examples,``` @Value("#{'100' matches '\\d+' }")... 阅读全文
posted @ 2015-08-22 09:40 wuhn 阅读(149) 评论(0) 推荐(0) 编辑
摘要: In this article, we show you how to use Spring EL to get value from `Map` and `List`. Actually, the way of SpEL works with `Map` and `List` is exactly... 阅读全文
posted @ 2015-08-22 09:36 wuhn 阅读(184) 评论(0) 推荐(0) 编辑
上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 40 下一页