Ice 3.8
C++ API Reference
Loading...
Searching...
No Matches

◆ addServantLocator()

virtual void Ice::ObjectAdapter::addServantLocator ( ServantLocatorPtr locator,
std::string category )
pure virtual

Adds a ServantLocator to this object adapter for a specific category.

Parameters
locatorThe servant locator to add.
categoryThe category. The empty category means locator handles all categories.
Exceptions
AlreadyRegisteredExceptionThrown when a servant locator with the same category is already registered.
See also
addDefaultServant