diff options
Diffstat (limited to 'cpp/src/IcePack/ServiceBuilder.cpp')
-rw-r--r-- | cpp/src/IcePack/ServiceBuilder.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cpp/src/IcePack/ServiceBuilder.cpp b/cpp/src/IcePack/ServiceBuilder.cpp index 76ccc66eb23..51004f14b37 100644 --- a/cpp/src/IcePack/ServiceBuilder.cpp +++ b/cpp/src/IcePack/ServiceBuilder.cpp @@ -79,8 +79,9 @@ IcePack::ServiceHandler::startElement(const string& name, const IceXML::Attribut { assert(!_currentAdapterId.empty()); string adapterName = getAttributeValue(attrs, "name"); + bool registerProcess = getAttributeValueWithDefault(attrs, "register", "false") == "true"; _builder.getServerBuilder().registerAdapter(adapterName, getAttributeValue(attrs, "endpoints"), - _currentAdapterId); + registerProcess, _currentAdapterId); } else if(name == "dbproperty") { |