Another way to get "just in time" injection is to use a lookup method.
另外一种获得“非常及时”的注入的方式是使用一个查找方法。
Suppose we have a static lookup method in com.ibm.almaden.webcal.WebCalUtils as shown in Listing 4.
设想我们在com . ibm . almaden . webcal . WebCalUtils中有一个静态查找方法,如清单4所示。
Then, the code gets the reference to the JMS topic using the same lookup method on the InitialContext object.
然后,代码使用InitialContext对象上相同的查询方法(lookup)来获取JMS主题的引用。
By adopting the combining method of formula method and table lookup method, a two dimensional fuzzy controller is implemented with 89c52 single chip computer.
利用公式法与查表法相结合的方法,采用89c5 2单片机实现了二维模糊控制器。
Seam ensures that subsequent requests for the same data will return the previously created result set rather than triggering an additional invocation of the lookup method.
Seam确保随后对相同数据的请求将直接返回之前创建的结果集,而不必再一次触发对查找方法的调用。
Regardless of the lookup method used, the target, alternative addresses, and endpoint lookup context within the ServiceMessageObject will be populated with the results of the lookup.
无论所使用的查找方法是什么,ServiceMessageObject内的目标、备用地址和端点查找上下文都会被填充到查找结果中。
The Geronimo team has been careful to implement the established standards, so the simple JNDI lookup method of obtaining a remote connection to a stateless session bean works as advertised.
Geronimo团队已经认真实现了健全的标准,推广用简单的JNDI 查询方法获得与无状态会话 bean 的远程连接。
Finally, the article walks you through the best and easiest method for EJB lookup and optimization.
最后,本文将介绍有关EJB查找和优化的最佳且最简单的方法。
The bulk access method can also be used in the normal lookup.
批量访问方法也可以在普通查找中使用。
The bulk access method can not be used for a sparse lookup.
不可以在稀疏查找中使用批量访问方法。
Finally, it illustrates the use of IBM NAS configuration using LDAP lookup enlisting its advantages over the default native method, which should encourage and help you to take advantage of it.
最后,说明使用LDAP查找的IBMNAS配置要比缺省的本地方法更加合适,这将鼓励并且帮助您充分地利用它。
The next example introduces a slight improvement over the first method, in that we factor out the common lookup code into a separate method.
下一个实例较第一种方法稍做改进,将常用的查找代码分解成单独的方法。
In this case, because you want to perform a read-only lookup of the status of a single transaction, the GET method is an obvious fit using the URI pattern, as shown in Listing 4.
在这个示例中,因为希望对单一交易的状态执行只读查询,显然应该使用GET方法,使用的URI模式见清单4。
With this backend type, each method of the UDPDMI contains code to lookup the Web service and invoke an operation on it (via DII).
对于此后端类型,UDPDMI的每个方法均包含用于查找Web服务和对其调用操作(通过DII)的代码。
Loosely speaking, since our anonymous class doesn't define click itself, the method lookup proceeds right to left, as declared.
大概地讲,因为我们的匿名类没有定义自己的click,所以这个方法会按照声明从右到左开始寻找。
The credit linking interface is a remote service whose lookup is made through the getUrl() method.
信用链接接口是一个远程服务,它的查询是通过getUrl()方法进行的。
The servlet will not be anything fancy and it is not really suggestive of the way to perform the JNDI lookup, which is typically done in an init() method.
这个servlet 一点也不奇特,它其实并不能揭示执行JNDI查询的方式,一般在init()方法中完成 JNDI 查询。
The lookups are simply a matter of invoking the lookup (String name) method of the Context and passing in the name where the object we want is bound.
查询只是调用Context的lookup (Stringname)方法,然后传入我们希望绑定对象的位置的名称。
One method to determine whether DNS is in fact working is to use the name server lookup, or nslookup, command.
确定DNS实际是否在工作的一种方法是使用nameserverlookup或nslookup命令。
The PersonHome remote home lookup is done first, and then the create (...) method is invoked to create a new Person.
首先进行PersonHome远程主机查找,然后调用create (…)。
With this backend type, each method of the UDPDMI contains code to lookup the home of the target EJB, obtain an instance, and to invoke the specified method.
对于此后端类型,UDPDMI的每个方法均包含查找目标EJB Home、获得实例和调用指定方法的代码。
If you don't add any additional metadata, Hades will try to lookup a JPA named query of the form {entity}. {method-name} and use that if available.
如果你没有增加任何附加的元数据,Hades会尝试查找格式为{entity}. {method - name}的JPA查询方法,如果有效的话就使用该方法。
Each of the four session beans demonstrates a slightly different way to lookup the Home interface for the Person bean and then to invoke the create method.
这4种会话bean各自演示了略微不同的方法,用来查找Personbean的本机接口然后调用create方法。
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方法中对其初始化。
On the last point, efficiency, the declaration of classes simplifies many compiler optimizations that allow developing efficient method and instance variable lookup.
在最后一点上,效率,类的声明简化了编译器的组织,允许开发高效的方法以及实例变量查找。
A method for organization and lookup of routing table.
路由表的组织和查找方法。
This paper introduces a method for high speed IP multicast routing lookup.
介绍了一种实现组播路由快速查找的方法。
If the Select method is an extension method, dynamic lookup will not find it.
如果Selected方法是个扩展方法,动态查找将找不到它。
ATM switch fabric based on the algorithm of speediness lookup table and VHDL is designed by this method.
并利用该设计方法设计了一种基于快速查表算法的由VHDL描述的AT M交换单元。
ATM switch fabric based on the algorithm of speediness lookup table and VHDL is designed by this method.
并利用该设计方法设计了一种基于快速查表算法的由VHDL描述的AT M交换单元。
应用推荐