The Apache Jakarta Project Jakarta HiveMind Project
 
   

hivemind.lib.NameLookup Service

The NameLookup service is a thin wrapper around JNDI lookup. It is used by the EJBProxyFactory service to locate EJBs.

The implementation makes use of three symbols (all of whose values default to null):

  • java.naming.factory.initial
  • java.naming.factory.url.pkgs
  • java.naming.provider.url

By supplying overrides of these values, it is possible to configure how the NameLookup service generates the InitialContext used for performing the JNDI lookup.