locatorClass is a conceptually abstract base class which defines the interface to a location server. OrbixWeb uses the installed locator to find a target object in the distributed system when _bind() is called with a null host name.The default locator, provided by OrbixWeb, searches for the target object of a
_bind() call in the manner described in Chapter 24, "Locators" of the OrbixWeb Programming Guide.
Programmers may override the default locator by defining and implementing a derived class of CORBA.locatorClass as described in Chapter 24, "Locators" of the OrbixWeb Programming Guide.
// Java
package IE.Iona.Orbix2.CORBA;
public class locatorClass {
// Constructor
protected locatorClass();
// Method
public _sequence_String lookUp(String ServiceName,
int MaxHops, Context ctx);
}
protected locatorClass();
locatorClass cannot be created: the constructor is protected to enforce this. The derived classes of locatorClass will normally have public constructors.
public _sequence_String lookUp(String ServiceName,
int MaxHops, Context ctx);
_CORBA.locator when _bind() is called with a null host name. Any parameters to _bind() are passed to lookUp().