• While less invasive, the drawback of that approach is that it requires explicit declaration of 'init-method' and/or 'destroy-method' attributes on the 'bean' element.

    尽管入侵性但缺点在于使用这个方式的话就必须显式声明bean元素的init-methoddestroy-method属性

    youdao

  • Init : This method is called when the filter is instantiated by the container and is designed to prep the filter for processing.

    init这个方法容器实例过滤器调用,它主要设计用于使过滤器为处理做准备。

    youdao

  • The engine will automatically construct a new instance of the object then call the init method on that object, so that the object has a chance to initialize itself from the context object.

    这个引擎自动地对象构造一个新的实例然后调用init方法以便该对象能够机会根据上下文对象自己进行初始化

    youdao

  • In Listing 9, the BrowserModel class performs its initialization within the init method.

    清单9中,browsermodelinit方法中执行自己的初始化

    youdao

  • This is set up in its own thread during the init method of the servlet and taken down in the destroy method of the servlet.

    这个实例servletinit方法自身的线程中创建,在servlet的destroy方法中销毁

    youdao

  • The following code shows an example adapting Run to IConfigurable using the init(String) method

    下面代码给出了一个例子init(String) 方法使Run适应于 IConfigurable

    youdao

  • The init method initializes a set of parameters for the servlet instance.

    这个init方法Servlet实例初始化了一参数

    youdao

  • The next step is to initiate the cipher object by calling its init method.

    下一步调用cipher对象init方法初始化这个对象。

    youdao

  • When those three additional parameters are uncommented, the logic related to this architecture will be invoked in the servlet's init method.

    如果三个附加的参数没有注释掉,在与体系结构有关逻辑通过Servletinit方法进行调用

    youdao

  • Therefore the suggested programming practice is to look up the service in the init method of the portlet and store it in an instance variable.

    因此建议编程实践Portletinit方法查找服务存储一个实例变量中

    youdao

  • Because the DataFactory class implements the ServletContextListener interface, it guarantees that its init method is called when the servlet context is first created.

    因为DataFactory实现ServletContextListener接口,所以可以保证第一次创建servlet上下文调用init方法

    youdao

  • Because the JNDI lookup can be expensive, it is good practice to store the provider object as a member variable of the portlet, and to initialize it in the init method.

    因为JNDI查找开销非常大所以最好做法提供程序对象存储Portlet成员变量init方法中初始化

    youdao

  • For example, in the init method of a Web service client servlet, you could set the endpoint for the service proxy.

    例如Web服务客户端Servletinit方法中,可以服务代理设置端点

    youdao

  • Much of that is because the test program is set up in a way that is pretty modularwith a constructor and init() methodso you can easily reuse this code for your own purposes without lots of changes.

    主要是因为测试程序按照非常模块化方法编写 —使用构造函数init()方法以便不需要很大修改用于自己的程序

    youdao

  • Calls the super class init method.

    调用init方法

    youdao

  • We've refactored the large amount of code in the constructor to put it in an init method, which still will be called by default in the constructor to avoid breaking any existing code.

    我们重构构造函数大量代码它们一个init方法中,这个方法默认情况下仍然构造函数调用,避免破坏现有代码的逻辑。

    youdao

  • Initializing the portlet and putting it into service (init method).

    初始portlet将其放入服务中(init方法)。

    youdao

  • In wicket framework, web pages can be mounted in init method of the main application class, which has to inherit from org.apache.wicket.protocol.http.WebApplication.

    wicket框架中,应用必须继承org . apache . wicket . protocol . http . WebApplication,Web页面可以主应用类init方法中进行装载

    youdao

  • The method that is called when a servlet is loaded for the first time by the servlet container is the init method.

    servlet容器第一装载一个 servlet 时,将调用 init方法

    youdao

  • My init method is neither static nor public.

    init方法不是static也不是public

    youdao

  • Its init method (see Listing 10) gets several configuration parameters and creates a ScriptCache object.

    init方法(参见清单10)会获得几个配置参数创建一个ScriptCache对象

    youdao

  • Within the init method of the portlet, retrieve the set of necessary services.

    Portletinit方法检索所需服务集合

    youdao

  • In the init method we instantiate a thread that gets the stock quotes and writes it to all the clients that are listening, i.e all the response objects in the openConnections list.

    init方法中,我们将实例化获取股票报价线程,此线程还要将这些报价写入所有正在侦听的客户端即openconnections列表中的所有响应对象

    youdao

  • However, now we can just pass a Boolean false to the constructor during our tests to avoid calling the init method and all the unneeded initialization logic.

    然而现在我们测试过程能够传递一个布尔值false构造函数避免调用init方法所有不必要的初始化逻辑

    youdao

  • This code is included in the init method of the sample portlet (see Listing 1).

    示例Portletinit方法包括以下代码(参见清单1)。

    youdao

  • You can use the init method to read parameters from the PortletServiceRegistryService.properties file, and to initialize any required Settings.

    可以使用init方法PortletServiceRegistryService . properties文件读取参数初始化任何必需的设置。

    youdao

  • The Log object could require its own initialization, to be performed by an init() instance method.

    Log对象可以要求自己的init()实例方法执行初始化

    youdao

  • Although not shown in this example, it is also possible to modify the StyleBean class so that the init method could open the appropriate CSS, instead of referencing the properties resource bundle.

    尽管这个示例显示,但修改stylebean从而使init方法可以打开恰当CSS不必引用属性资源也是可能

    youdao

  • This also requires a modification to the init method to accept a String context.

    需要init方法进行修改以便能够接受String上下文。

    youdao

  • During the init method, store information used by the getter methods (like the user name) using instance variables on the application object or using WebSphere Dynamic Cache maps.

    init方法中,使用应用程序对象中的实例变量WebSphereDynamicCache映射存储getter方法使用信息比如用户)。

    youdao

$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定