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方法中对其初始化。
A callback function that creates the provider object.
一个回调函数,用于创建提供程序对象。
Error occurred when calling methods on object link provider object.
调用对象链接提供程序对象中方法出错。
应用推荐