Spring
文章平均质量分 79
Kipen
这个作者很懒,什么都没留下…
展开
-
【原创】Spring多bean注入...
User.java package org.rockie;public class User { private String username; private Home myhome; public Home getMyhome() { return myhome; } public void setMyhome(Home myhome) { this.myhome = myhom原创 2007-04-07 21:43:00 · 1017 阅读 · 0 评论 -
【原创】Spring-Bean接口的初始化...
UserBean.java package org.rockie;import org.springframework.beans.factory.InitializingBean;public class UserBean implements InitializingBean{ private String username; private int age; public int原创 2007-04-08 00:07:00 · 2416 阅读 · 0 评论 -
【原创】Spring-AOP代理类..
Computer.java package org.rockie;public class Computer implements PcInterf{ private String pcName="rockie007"; private int pcPrice=5000; public String getPcName() { return pcName; } public void s原创 2007-04-08 04:45:00 · 946 阅读 · 0 评论 -
【原创】Spring-bean的关联...
User.java package org.rockie;public class User { private String username; private int age; public int getAge() { return age; } public void setAge(int age) { this.age = age; } public String getUs原创 2007-04-07 17:34:00 · 1120 阅读 · 0 评论 -
【原创】Spring构造函数的注入...
User.java package org.rockie;public class User { private String username; private Home myhome;pbulc User(Home myhome){ this.myhome=myhome;} public Home getMyhome() { return myhome; } pu原创 2007-04-07 22:02:00 · 2028 阅读 · 0 评论 -
【原创】Spring-Bean的init初始化...
UserBean.java package org.rockie;public class UserBean { private String username; private int age; public int getAge() { return age; } public void setAge(int age) { this.age = age; } public Stri原创 2007-04-07 23:40:00 · 1499 阅读 · 0 评论 -
【原创】Spring-AOP代理类继承接口..
Computer.java package org.rockie;public class Computer implements PcInterf{ private String pcName="rockie007"; private int pcPrice=5000; public String getPcName() { return pcName; } public void s原创 2007-04-08 05:06:00 · 1388 阅读 · 0 评论 -
【原创】Spring---国际化例子...
applicationContext.xml http://www.springframework.org/dtd/spring-beans.dtd"> class="org.springframework.context.support.ResourceBundleMessageSource" abstract="false" singleton="true" lazy-ini原创 2007-04-21 21:13:00 · 1738 阅读 · 0 评论