1 /* Copyright (C) 2013 BMW Group
2 * Author: Manfred Bathelt (manfred.bathelt@bmw.de)
3 * Author: Juergen Gehring (juergen.gehring@bmw.de)
4 * This Source Code Form is subject to the terms of the Mozilla Public
5 * License, v. 2.0. If a copy of the MPL was not distributed with this
6 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
7 #include "ServicePublisher.h"
13 bool ServicePublisher::registerService(const std::shared_ptr<StubBase>& stubBase,
14 const char* interfaceId,
15 const std::string& participantId,
16 const std::string& serviceName,
17 const std::string& domain,
18 const std::shared_ptr<Factory>& factory) {
19 return factory->registerAdapter(stubBase, interfaceId, participantId, serviceName, domain);
22 } // namespace CommonAPI