Calls the super class init method.
调用超类的init方法。
My init method is neither static nor public.
我的init方法既不是static,也不是public。
Initializing the portlet and putting it into service (init method).
初始化portlet并将其放入服务中(init方法)。
For a servlet-based implementation bean, the init method is called.
对于一个基于servlet的实现bean,调用init方法进行初始化。
The init method initializes a set of parameters for the servlet instance.
这个init方法为Servlet实例初始化了一套参数。
The next step is to initiate the cipher object by calling its init method.
下一步是调用cipher对象的init方法初始化这个对象。
Within the init method of the portlet, retrieve the set of necessary services.
在Portlet的init方法中,检索所需服务的集合。
This code is included in the init method of the sample portlet (see Listing 1).
示例Portlet的init方法中包括以下代码(参见清单1)。
This also requires a modification to the init method to accept a String context.
这也需要对init方法进行修改以便能够接受String上下文。
When the container loads the filter for the first time, the init method is called.
当容器第一次加载该过滤器时,init方法将被调用。
In Listing 9, the BrowserModel class performs its initialization within the init method.
在清单9中,browsermodel类在init方法中执行自己的初始化。
The init method gets the JMS connection factory and queues, and starts a connection.
init method方法将获取JMS连接工厂和队列,并启动一个连接。
In Listing 4, SportsInit is specified to load on startup and eventually calls the init method.
在清单4中,指定在启动时加载SportsInit,最后调用init方法。
Its init method (see Listing 10) gets several configuration parameters and creates a ScriptCache object.
其init方法(参见清单10)会获得几个配置参数并创建一个ScriptCache对象。
You need to add two lines of code in the init method of the controller servlets.GoogleSearchServlet.
您需要在控制器servlets . GoogleSearchServlet的init方法中添加两行代码。
In the init method, you can set up the view and model objects you will use in the subsequent actions.
在init方法中,可以设置将在后续操作中使用的视图和模型对象。
During the servlet initialization, the container activates the servlet by calling the init method once.
在Servlet初始化的过程中,这个容器可以通过一次调用init方法来激活这个Servlet。
For example, in the init method of a Web service client servlet, you could set the endpoint for the service proxy.
例如,在Web服务客户端Servlet的init方法中,您可以为服务代理设置端点。
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方法。
And you should probably create an init method, which will be called when the PostController object is created.
并且可能需要创建init方法,在创建PostController对象时将调用该方法。
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.
这个类的实例是在servlet的init方法中在其自身的线程中创建,并在servlet的destroy方法中销毁的。
When those three additional parameters are uncommented, the logic related to this architecture will be invoked in the servlet's init method.
如果这三个附加的参数没有注释掉,在与此体系结构有关的逻辑将通过该Servlet的init方法进行调用。
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的呈现方法要比其初始方法的性能关键性更强,因为每个请求都会调用呈现方法。
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.
因此,建议的编程实践是在Portlet的init方法中查找服务,并将其存储在一个实例变量中。
You can use the init method to read parameters from the PortletServiceRegistryService.properties file, and to initialize any required Settings.
您可以使用init方法从PortletServiceRegistryService . properties文件中读取参数,初始化任何必需的设置。
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方法和所有不必要的初始化逻辑。
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方法中进行装载。
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方法。
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方法中对其初始化。
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方法中添加代码,将鼠标移动处理程序与事件关联起来,然后保存修改。
应用推荐