为了区别工作者线程和UI线程,在例子程序的主入口点设置CurrentThread对象的名字属性为“ UIThread ”。
In order to distinguish worker threads from the UI thread, the main entry point for the sample application sets the Name property of the CurrentThread object to "UIThread."
打开测试对象图,然后将作为GUI显示值的属性值更改为资源文件的密钥名字,如图14所示。
Open the test object map, and then change the property values that are GUI display values to key names of the resource file, as shown in Figure 14.
换句话说,Spring2.5之前还不可能自动装配某个对象setter方法的特定子集,或者通过类型或名字来自动装配它的一些属性。
In other words, prior to Spring 2.5, it has not been possible to autowire a specific subset of an object's setter methods or to autowire some of its properties by type and others by name.
应用推荐