摘要:
使用autowire属性可以实现自动注入,可以取值:byName和byType。 简单示例代码:<beanid="registerAction"class="com.lantsky.action.RegisterAction"scope="prototype"><propertyname="userManageService"><refbean="userManageService"/></property></bean>可以写成:&l 阅读全文
posted @ 2011-08-01 23:49 季枫 阅读(852) 评论(0) 推荐(0)
浙公网安备 33010602011771号