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

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

    youdao

  • For a servlet-based implementation bean, the init method is called.

    对于一个基于servlet实现bean调用init方法进行初始化。

    youdao

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

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

    youdao

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

    Portletinit方法检索所需服务集合

    youdao

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

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

    youdao

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

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

    youdao

  • When the container loads the filter for the first time, the init method is called.

    容器第一加载过滤器时,init方法将被调用。

    youdao

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

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

    youdao

  • The init method gets the JMS connection factory and queues, and starts a connection.

    init method方法将获取JMS连接工厂队列启动一个连接。

    youdao

  • In Listing 4, SportsInit is specified to load on startup and eventually calls the init method.

    清单4中,指定启动加载SportsInit最后调用init方法

    youdao

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

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

    youdao

  • In the init method, you can set up the view and model objects you will use in the subsequent actions.

    init方法可以设置后续操作使用视图模型对象

    youdao

  • During the servlet initialization, the container activates the servlet by calling the init method once.

    Servlet初始化的过程中,这个容器可以通过一次调用init方法激活这个Servlet。

    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

  • 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

  • And you should probably create an init method, which will be called when the PostController object is created.

    并且可能需要创建init方法创建PostController对象调用方法。

    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

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

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

    youdao

  • For example, the render method of a portlet is much more performance-critical than its init method, since it is called upon in every request.

    例如Portlet呈现方法初始方法的性能关键性强,因为每个请求都会调用呈现方法。

    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

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

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

    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

  • 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

  • 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

  • Next, add into the init method the code to link the mouse movement handler with the event and save all your changes. Your init method should look something like Listing 9.

    接下来init方法中添加代码鼠标移动处理程序事件关联起来然后保存修改

    youdao

  • Additionally, you need to get the publisher instance, initialize ChartDataUpdater with the publisher, and start ChartDataUpdater in the init method of the startup servlet.

    此外需要获得publisher实例,使用发布程序(publisher)初始chartdataupdater启动servletinit方法启动ChartDataUpdater。

    youdao

  • The init-param elements provide initialization parameters to a handler during its initialization phase, more specifically, when a container calls the handler's init method.

    init - param元素初始阶段处理器提供初始化参数准确的说,是容器调用操作者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

  • 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
- 来自原声例句
小调查
请问您想要如何调整此模块?

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

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