举个例子来说,这种机制可以用在外部配置过程的数据库访问或者服务调用地址。
This mechanism can be used, for example, to externally configure process's database access or service invocation address.
这意味这服务请求者必须与另外一个服务提供者签署协议来调用地址查询Web服务。
This means that the service requester has to sign another contract with the service provider to invoke the Address Finder Web service.
整个过程如清单8 所示,可以与 清单 7调用地址查询Web服务的代码片段进行对比。
The whole process is described in Listing 8, being in contrast with the above coding section in Listing 7 for invoking the Address Finder Web Service.
随后fetch()调用 places.addPlace(),后者使用地图和天气信息以及地址,在请求范围内创建一个新的Place。
Then fetch() calls places.addPlace(), which uses the map and weather information, along with the address, to create a new Place in request scope.
错误对象:使用地址,通过与对象的构建函数调用的地址进行比对,可以检查出是不是在正确的对象上调用方法。
Incorrect objects: Using the address, it is possible to check that methods are being invoked on the desired object by matching to the address on the constructor call for that object.
错误对象:使用地址,通过与对象的构建函数调用的地址进行比对,可以检查出是不是在正确的对象上调用方法。
Incorrect objects: Using the address, it is possible to check that methods are being invoked on the desired object by matching to the address on the constructor call for that object.
应用推荐