The S3Service object is actually an interface type.
S3Service对象实际上是一个接口类型。
Use typecast to convert the returned object to the desired service interface type.
使用型态转换将返回的对象转换成期望的服务接口类型的对象。
The open SCA specifications currently support the following interface type systems for describing SCA interfaces.
openSCA规范目前支持使用以下接口类型系统来描述SCA接口。
Keep this in mind so you don't make the mistake of thinking that all references to a class have been changed to the new interface type.
请记住这一点,不要错误地认为对这个类的所有引用都会被转换为新的接口类型。
When a class has implemented an interface, objects created from that class can be upcast to the interface type, as demonstrated by Listing 12-3.
当一个类已经实现了一个接口时,从这个类生成的对象可以上溯到这个接口类型,如清单12-3所示。
Provides an overview of the user interface type editor architecture.
提供用户界面类型编辑器结构的概述。
Once an object has been upcast to an interface type, only the members specified in the interface can be used.
一旦把一个对象上溯给一个接口类型,只有该接口中指定的成员才可以被使用。
If the target field type specifies the EJB business interface type, the caller does not need to be concerned with any of the specifics of calling an EJB.
如果目标字段类型指定了EJB业务接口类型,则调用者不需要关心调用某个EJB的任何细节。
Note how the code taken from the GUI in Listing 5 references the interface type only — the implementation of the interface is not used (or imported) anywhere in the GUI.
注意,清单5中的GUI中的代码只引用接口类型——GUI中的任何地方都没有使用(或导入)接口的实现。
Adding closures means that I don't have to define an interface type as I did in the original Filter interface, or rely on specific implementations for desired behaviors.
添加闭包意味着我不用像在原来的Filter接口中那样必须定义一个接口类型,或者依赖特定的实现才能得到期望的行为。
An interface that has a contravariant type parameter allows its methods to accept arguments of less derived types than those specified by the interface type parameter.
如果接口具有逆变类型形参,则允许其方法接受与接口类型形参指定的派生类型相比,派生程度更小的类型的实参。
This method take service name, version, consumer type (generic QoS parameter) and callback interface name (optional parameter) and creates a service proxy for a given interface type.
这个方法接收服务名称,版本,消费类型(一般的QoS参数)和回调接口名称(可选的参数),并为一个给定的接口类型创建一个服务代理。
You can then refer to implementing objects as that interface type and call whatever methods exist on that interface. As an example, in Listing 13, I've defined a simple interface called filter.
然后就可以按照接口类型引用实现此接口的对象,并调用这个接口中存在的任何方法。
Lines 15-23 define a condition that the metadata of Service Interface type must satisfy or the transition will fail to execute.
行15 - 23定义了Serviceinterface类型的元数据必须满足的条件,否则转换将会失败。
It's a simple interface: type in your query, see the results.
这是一个简单的界面:输入您的查询,查看结果。
It's a simple interface: type in your query, see the results.
这是一个简单的界面:输入您的查询,查看结果。
应用推荐