一个关键的对象实例化的时间是多少?
首先,将form对象实例化,然后设置它的动作和方法。
First, the form object is instantiated, and its action and method are set.
引入这个中间对象允许一个灵活的对象实例化。
Introducing this intermediate object allows for flexible instantiation of objects.
即使在对象更新它们状态的情况下,也应该谨慎地考虑对象实例化。
Even in the case when objects update their state, object instantiation should be carefully considered.
当参数对象实例化完成之后,您就准备好了调用REST服务。
Once the parameters object is instantiated, you are ready to invoke the REST service.
在常见方案中,不应要求对嵌套类型进行变量声明和对象实例化。
Declaration of variables and object instantiation for nested types should not be required in common scenarios.
表示组件由controller . js中的控制对象实例化。
The presentation components are instantiated by the control object located in controller.js.
连接池可提高性能,因为一将数据源对象实例化,它就会创建一个连接。
Connection pooling improves performance as a data source object creates a connection as soon as it is instantiate.
在后面一种情况下,将对象实例化以报告某些信息之后,就再也不需要该对象了。
In this latter case, the object would be instantiated to report some information and then would not be required anymore.
这显著简化了数据编程模型,让开发人员可以简便地执行对象实例化以及使用getter和setter方法。
This significantly simplifies the data programming model and enables straightforward object instantiation and the use of getter and setter methods.
您现在必须找到一种方法把参数提供给模拟对象实例化过程以达到同样的效果,这就是使用RMock 的原因。
You're now forced to find a way of providing arguments to the mock object instantiation process to achieve the same effect, which is precisely why you use RMock.
您可能会说InitialDirContext对象是由工厂对象实例化的DirContext对象的包装器。
You might say that the InitialDirContext object is a wrapper for the DirContext object instantiated by a factory object.
现在,所有要将configuration类型的对象实例化的尝试都会出错,因为系统认为该类是抽象的并且不完整。
Now, any attempt to instantiate an object of type Configuration results in an error because the class is considered abstract and incomplete.
再次重新运行ServiceClassTest以达到最终的肯定结果:在模拟对象实例化期间提供的参数造成了所有差别。
Rerun the ServiceClassTest once again to achieve the final positive result: the parameters you supplied during mock object instantiation made all the difference.
单击这个菜单(onclick)时,通过另一个名为addcustomer的zul,我使用Executions对象实例化一个Window对象。
When this menu is clicked (onClick) I instantiate a Window object through the Executions object using another zul called addCustomer.
此外,这个类包含将对象实例系列化到Xml的ToXml方法。
In addition, the class contains the ToXml method, which serializes the object instance to XML.
当XJConf遇到配置文件中的元素时,它将对App对象实例进行实例化。
When XJConf encounters an element in the configuration file, it instantiates an App object instance.
此调用向您返回一个ServiceInfo对象,该对象包含实例化SearchService(通过搜索管理Portlet创建)必需的服务属性。
This call returns you a ServiceInfo object containing the services properties necessary to instantiate a SearchService that has been created through the Search Admin portlet.
难道“newArray”不是与其它类型对象的实例化方式更一致吗?
Isn't "new Array " more consistent with the way every other kind of object is instantiated?
从该类实例化的任何对象属于该类定义的类型。
Any object instantiated from that class belongs to that type by definition.
此属性对象提供实例化客户机的配置。
This properties object provides configuration for the instantiated client.
只能通知那些通过框架的代理机制实例化的对象。
Only objects instantiated via the framework's proxy mechanisms can be advised.
您可以手动对表单元素进行实例化并把它们连接到表单,或者让表单对象创建并实例化一个新表单元素,使它符合您要求的类型。
You can instantiate the form elements manually and attach them to the form or let the form object create and instantiate a new form element of the requested type for you.
现在先要创建用户界面,这样才能实例化这些对象。
Let's create the user interface so you can instantiate some of these objects.
为了达成这一目标,需要一种透明的机制将服务注入到领域对象中,不管对象在何处实例化都该如此。
In order to achieve that there should be a mechanism to transparently inject services into domain objects, no matter where in the code they are instantiated.
元素的类型属性指定作为源文档对象要实例化的类。
The type attribute of the element specifies the class to instantiate as the source document object.
然后,它获取这个业务对象,将其实例化,并填充元数据,如下面清单4所示。
It then takes the business object, instantiates it, and populates it with the metadata, as shown in Listing 4 below.
测试定义是业务对象的序列化实例。
The Test definitions are serialised instances of a business object.
调用组件将实现这些接口的对象(故意不称之为值对象)实例化,并在这两个方法调用中将该对象用作方法参数。
The calling component instantiates an object — deliberately not called a value object — that implements these interfaces and USES this object as a method parameter in both method calls.
这个代码位将SOAP信封的对象和方法进行解码,实例化本地对象,并返回将会在返回 SOAP 信封中被包装起来的结果。
This bit of code decoded the object and method from a SOAPenvelope, instantiated the local object, and returned the result to be wrapped up in a return SOAP envelope.
应用推荐