Even though the sequence of doing the JNDI lookup is well known, casting and handling the JNDI exception adds a lot of standard code.
就算已经知道了做 JNDI 查找的序列,处理 JNDI 例外的操作会添加一系列标准代码。
The portlet can retrieve such a service through a standard JDNI lookup.
Portlet可以通过标准JNDI查找来检索这样的服务。
You could simply return a pointer to a standard C++ object (if you don't need to access functions), any other type of function lookup table, or whatever you wanted.
你可以简单地返回一个标准C++对象的指针(如果你不需要访问函数),任何函数查询表的其它类型指针,或你需要的任何类型的指针。
应用推荐