The configuration in Listing 3 is a plain old Spring bean definition.
清单3中的配置是一个简单的旧的Spring bean定义。
Listing 4 is the Spring bean assembly for the bigbank_account composition.
清单4是bigbank_account组合的Spring Bean组装。
This is the injection of SCA references and properties within Spring bean constructors.
这是Spring bean构造函数中的SCA引用和属性的注入。
Create beans.xml and define the service class as a Spring bean using a JAX-WS front end.
创建beans . xml,并使用JAX - WS前端将该服务类定义为Spring bean。
Take the Spring framework (see Resources) : To configure a generic Spring bean, you use XML.
考虑Spring框架(参见参考资料):为了配置一个一般的Spring bean,您使用XML。
Exposing a Spring bean as a service is not supported when the bean implements multiple interfaces.
Spring bean实现多个接口时不支持将其公开为服务。
It initializes the Spring bean factory and then starts a long loop, putting load on each of the beans.
它初始化spring bean工厂,然后开始一个长的循环,从而将负载置于每一个bean中。
Just add your code as a Spring bean to these files that are not marked as generated, as shown in Figure 34.
将您的代码作为Spring bean添加到没有标记为生成的这些文件中,如图34所示。
Next, add the seam: component tag inside of the definition of any Spring bean you would like to expose to JSF.
接下来,在任何您想要公开给JSF的Spring bean的定义内添加seam:component标记。
Normally the element is in the default namespace, so traditional Spring bean definitions do not need prefixing.
通常,元素是在缺省的命名空间,因此传统的Spring bean定义并不需要前缀。
Furthermore we are exposing extension points to contribute custom validation rules for Spring bean definitions.
而且我们还暴露出了为Spring bean定义提供自定义验证规则的扩展点。
Create beans.xml, define the service class as a Spring bean using HTTP binding, and publish it as a JAX-WS endpoint.
创建beans . xml,使用HTTP绑定将这个服务类定义为Spring bean,将其作为JAX - WS端点发布。
The feature pack for SCA currently supports only constructor injection when the Spring bean has a single constructor.
当Spring bean拥有单个构造函数时,这个针对sca的特性包目前只支持构造函数注入。
The Registrar class is an extension of the familiar WinkApplication class and has to be defined as a spring bean, first.
registrar类是我们熟悉的winkapplication类的扩展,首先必须定义为spring bean。
Revisiting the application's Spring integration and making the Spring bean available during the Seam Remoting life cycle.
重新访问应用程序的Spring集成并让 Spring bean在SeamRemoting 的生命周期可用。
Listing 5 is an example of the Spring bean configuration file that defines Apache Wink resources and providers as Spring beans.
清单5是Spring bean配置文件的一个示例,将ApacheWink资源和提供者定义为Spring bean。
SCA annotations can be used to explicitly declare the SCA services, references, and properties within your Spring bean classes.
SCA注释可用来在Spring bean类内显式声明sca服务、引用和属性。
Let's look specifically at how to create an order-processing Web service and then register it as a Spring bean using a JAX-WS front end.
下面让我们深入地研究一下如何使用JAX - WS前端创建订单处理Web服务,然后将其注册为Spring Bean。
A Spring bean referencing this declaration would then use standard Spring dependency injection to use the transaction support, for example.
引用此声明的Spring Bean然后将使用标准Spring依赖项注入来使用事务支持,例如。
The SCA annotations for explicitly declaring the SCA services, references, and properties within your Spring bean class are described below.
下面介绍了用于在Spring bean类内显式地声明SCA服务、引用和属性的 SCA注释。
This JIRA enables the Spring bean name to be used instead and should provide a fix, but only if you are on the appropriate version of Spring.
此JIRA支持改为使用Spring Bean名称,但是仅当您在使用相应版本的Spring的时候,才应该提供修复程序。
Listing 10: Warsaw project main application class with example usage of Spring bean injection mechanism and annotation-based web page scanner.
清单10:warsaw项目的主应用类,其中示范了Spring类注入机制和基于注解的Web页面扫描器的使用。
Provides a way for you to declare the dependencies of a Spring bean on the services provided by other SCA components available within the composite.
用来在由此复合集内可用的其他SCA组件提供的服务上声明一个Spring bean的依赖项。
The flowExecutor Spring bean is configured to use a flowRegistry bean to execute XML-based flow definitions located in the "/WEB-INF/flows/" directory.
Spring flowExecutorbean配置使用一个flowRegistry bean来执行"/WEB-INF/flows/"目录中的基于XML的流转定义。
If that lookup fails to find a match, the custom resolver then looks into Spring's WebApplicationContext to find a Spring bean with a matching id attribute.
如果该查找未能发现匹配,自定义解析器就会检查Spring的WebApplicationContext,以查找带有匹配id属性的Spring bean。
Considering getters and setters: a class that USES a Spring bean needs to provide at least a setter method, which corresponds to the name of the particular bean.
关于getter和setter:使用了Spring bean的类至少要有一个setter方法,该方法对应于特定bean的名称。
The referenced Spring bean auditorAware has to implement the AuditorAware interface that you'd typically implement querying your security module for the current user.
auditorAware是引用的Spring Bean,需要实现AuditorAware接口,通常是实现针对当前用户的安全查询功能。
The exception to this rule is if the client business delegate in the client layer controlling the transaction scope is managed as a Spring bean by the Spring Framework.
此规则的例外情况是,管理事务作用域的客户端层中的客户端业务代理由SpringFramework托管为Spring bean。
Similarly, the Apache Tuscany sca runtime allows you to explicitly declare the sca services, references, and properties within your Spring bean class using sca annotations.
同样地,ApacheTuscanysca运行时允许您使用sca注释在Spring bean类内显式地声明sca服务、引用和属性。
The results reported through the APM system show several comparative items. Table 1 indicates the average elapsed times of the calls from each Spring bean for the test run.
由apm系统报告的结果展示出了几个类似的项。
应用推荐