Value objects as method parameters.
使用值对象作为方法参数。
Specify constraints for method parameters
为方法参数指定约束条件
The method parameters and return types must be serializable.
方法参数和返回类型必须是可序列化的。
Identify the method parameters and understand how to use them.
了解方法参数及如何使用它们。
You can do this by defining the method parameters as interfaces.
为此,可以将方法参数定义为接口。
However, type annotations are required for all method parameters.
然而,对于所有的方法参数来说,类型注解是必须的。
The dependency methods define the method parameters as interfaces.
依赖项方法将方法参数定义成接口。
Injecting elements from the URI or the HTTP header as method parameters.
将来自uri或HTTP头部的元素作为方法参数注入。
As you can also see, the method parameters can be primitive types or objects.
可以看到,方法的参数可以是原生类型或是对象。
To specify preconditions for a method with OVal, you must annotate method parameters.
用OVal为方法指定前置条件必须对方法参数进行标注。
In Web service parlance, data is called messages that are part of method parameters or return types.
对Web服务而言,数据也可称为消息,是方法参数或返回类型的一部分。
The mapping file allows you to customize bean and method names as well as method parameters and return types.
映射文件允许定制bean、方法名称、方法参数和返回类型。
This article focuses not on the component but on the method parameters of operations that a component provides.
本文并不关注组件,而是关注组件提供的操作的方法参数。
If the parameters are given as a list surrounded by parentheses, they must exactly match the method parameters.
如果所给的参数是圆括号括起的列表,它们必须精确匹配方法参数。
These method parameters are defined as value objects; that is, objects with no logic that hold only data values.
这些方法参数定义成值对象,即不含逻辑只含数据值的对象。
We can use argument binding to bind method parameters, return types and exceptions as well as targets if we wish.
我们可以使用参数绑定来绑定方法参数,返回类型和异常,以及我们希望的目标。
Using interfaces as method parameters is (in IoC terms) a form of context IoC, applied on a dependency of the caller.
使用接口作为方法参数是上下文IoC的一种形式(这是ioc术语),应用于调用程序的依赖项。
It will first validate method parameters upon a method invocation and then delegate the method call to the implementation class.
它首先验证方法调用的方法参数,然后把方法调用委托给实现类。
If so, the transaction id, or Xid, is propagated to the remote object as part of the IIOP call along with the method parameters.
如果是,事务标识,或者说Xid,被作为IIOP调用的一部分与方法参数一起传播到远程对象。
Take a look at the dependency graph for a typical setup of a component with two dependencies and the method parameters used (see Figure 1).
请看下图,这是典型的组件设置的依赖关系图,其中有两个依赖关系并使用了方法参数(参见图1)。
Annotations can also take named elements, which are similar to method parameters, except that the parameters' order and number don't matter because each one is named.
注解还可以接受命名元素(named element),这种元素与方法参数相似,但是参数的次序和数量不重要,因为每个参数都有名称。
All data that goes into or leaves the ORB (like method parameters and method return values) are serialized and deserialized using a format called common data representation (CDR).
进出orb的所有数据(例如方法参数和方法返回值)都使用称为公共数据表示形式(common data representation,CDR)的格式进行序列化和反序列化。
There are different method parameters and the flow of actions, and some functionality needs to be rewritten completely because there is no one-to-one match from one API to the other.
它们有不同的方法参数和操作流,并且需要重新编写一些功能,因为两者之间的API并没有一一对应的关系。
Therefore, if a code generation problem occurs, it is most likely that the code generator can not handle the serialization of the method parameters or return types in your service class.
因此,如果出现代码生成问题,那么最有可能的是代码生成器不能处理您的服务类中的方法参数或返回类型的序列化。
In this case, using value objects as method parameters requires that Component1 create the value objects for each method call and actively copy the values required into the value objects.
在本例中,使用值对象作为方法参数需要Component1为每个方法调用创建值对象,并主动地将所需值复制到值对象中。
In this case, the code shows how to pass through the method parameters to the _ method (yes, the method is actually named "_") provided by the Globalize plugin (see Resources for a link).
在本例中,代码显示了如何将方法参数传递给Globalize插件(请参看参考资料中的链接)所提供的_方法(是的,这个方法的名字就是“_”)。
Method parameters: (a calendar algorithm).
方法参数:(一种日历算法)。
Action-Method Parameters now support default values.
Action方法的参数可以支持默认值。
Method parameters and return values are serialized over RMI-IIOP and returned by value.
方法参数和返回值将在RMI - IIOP上序列化,并由值返回。
应用推荐